Description
The qtlocation package contains an header file which has a BOM, this was introduced by commit https://qt.gitorious.org/qt/qtlocation/commit/0ed9f7496656fa0ea52d703c7fddff26c2192857
For the file : src/plugins/position/positionpoll/qgeoareamonitor_polling.h
It prevents qtlocation to build with compilers like g++ 4.3.2 and AFAIK all gcc/g++ version should be concerned. The compiler fails with the following errors :
In file included from qgeoareamonitor_polling.cpp:42:
qgeoareamonitor_polling.h:1: error: stray '\357' in program
qgeoareamonitor_polling.h:1: error: stray '\273' in program
qgeoareamonitor_polling.h:1: error: stray '\277' in program
In file included from .moc/moc_qgeoareamonitor_polling.cpp:9,
from qgeoareamonitor_polling.cpp:518:
.moc/../qgeoareamonitor_polling.h:1: error: stray '\357' in program
.moc/../qgeoareamonitor_polling.h:1: error: stray '\273' in program
.moc/../qgeoareamonitor_polling.h:1: error: stray '\277' in program
make[6]: *** [.obj/qgeoareamonitor_polling.o] Error 1
I attached a patch which remove the BOM to present the issue.
Attachments
Issue Links
- is required for
-
QTBUG-35562 Issues to be fixed in Qt 5.2.1
- Closed