From kdevelop-bugs Mon Oct 29 22:20:42 2007 From: owner () bugs ! kde ! org Date: Mon, 29 Oct 2007 22:20:42 +0000 To: kdevelop-bugs Subject: [Bug 151492] New: QMake project parse error *.pri file Message-Id: <20071029005511.151492.tomek () 3electrons ! com> X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=119369660624183 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=151492 Summary: QMake project parse error *.pri file Product: kdevelop Version: 3.5.0 Platform: Gentoo Packages OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general AssignedTo: kdevelop-bugs kdevelop org ReportedBy: tomek 3electrons com Version: 3.5.0 (using KDE KDE 3.5.7) Installed from: Gentoo Packages Compiler: gcc (GCC) 4.2.2 (Gentoo 4.2.2 p1.0) OS: Linux When parsing Flags.pri included mutliple times form subdirectory projects program returns parse error, at the same time qmake (Qt 4.3.x) work properly with it. " unix{ # Development machine INCLUDEPATH+=/usr/include/OGRE/ QMAKE_CXX=distcc QMAKE_CXXFLAGS_RELEASE= -g3 -Wall -pg QMAKE_LFLAGS_RELEASE= -pg #QMAKE_CXXFLAGS_RELEASE= -march=k8 -Os -mfpmath=sse } win32{ # Target platform - Windows # Pentium-Pro -- becouse of Intel and AMD fork INCLUDEPATH+=$$(OGRE_HOME)/include LIBS+=-L$$(OGRE_HOME)/bin/release #QMAKE_CXXFLAGS_RELEASE= -g3 -Wall QMAKE_CXXFLAGS_RELEASE= -march=i686 -Os -Wall # QMAKE_LFLAGS_RELEASE= } " Additionally Parsing following line "=================" in .pro files causes as well parse error. BTW. It would be nice to have line number and token name included to parser string error. Additionally When parsing project files ... having line of '=' chars return parse error. When qmake parser does'nt do that. Project that shows what is the problem is attached. P.S. Forgive me my English it is not my primary language. ------- Additional Comments From tomek 3electrons com 2007-10-29 00:57 ------- Created an attachment (id=21931) --> (http://bugs.kde.org/attachment.cgi?id=21931&action=view) Testcase (project containing bugs mentioned) ------- Additional Comments From toscano.pino tiscali it 2007-10-29 23:20 ------- *** Bug 151491 has been marked as a duplicate of this bug. *** _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs