On 07/01/2010, at 23:04, Koen van der Drift wrote:
> On Jan 7, 2010, at 3:24 AM, monipol wrote:
>
>> Hello, Koen. Would it be possible to drop -pedantic? That should  
>> fix the 'long long' errors.
>
> Alas, I tried:
>
> SetCPPFLAGS: -Wno-long-long
> or
> SetCFLAGS: -Wno-long-long
>
> But get the same error. Maybe the syntax is wrong?


That's because qmake does not honour CPPFLAGS/CXXFLAGS. You need to  
edit mkspecs/defs.pro and either remove -pedantic (which is not really  
needed anyway, it essentially enables a bunch of warnings) or add -Wno- 
long-long to QMAKE_CXXFLAGS and QMAKE_CXXFLAGS_DEBUG.

For example, add the following Perl pie to PatchScript:

perl -pi -e 's/-pedantic/-pedantic -Wno-long-long/' mkspecs/defs.pro

You haven't sent the patch file so I'm not sure if my build will  
finish successfully. At any rate, the build has certainly got past the  
previous build that had -pedantic only.


Cheers,

--
monipol
http://finkers.wordpress.com

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to