Hello Carsten and everyone else,
I tried to build Cafu trunk on ArchLinux with GCC 4.7.1 and figured out I needed the patch I attached to build it.
Cafu trunk on ArchLinux with GCC 4.7.1
- Attachments
-
- fixBuildLinux.diff
- (1.8KiB)Downloaded 574 times
Re: Cafu trunk on ArchLinux with GCC 4.7.1
I suspect that you removed
-Werror
because there were even more reports by the GCC 4.7 compiler?Scorphame experienced the same issues a few days ago, and I believe we walked through all the warnings (treated as errors) as well: http://www.cafu.de/forum/viewtopic.php?p=5287#p5287
The first who sends me a complete patch that works with leaving
-Werror
in gets a huge thanks from me and the patch applied to the official repository immediately. Best regards,
Carsten
Carsten
Re: Cafu trunk on ArchLinux with GCC 4.7.1
Yes; thanks for pointing out the other thread. I attached the patch that worked for me!
Btw: YAY, COOKIES
Btw: YAY, COOKIES
- Attachments
-
- fixLinuxBuild.diff
- (2.97KiB)Downloaded 580 times
Re: Cafu trunk on ArchLinux with GCC 4.7.1
One more comment: I would add the following line to SConstruct to preserve colors (if existing):
envCommon['ENV']['TERM'] = os.environ['TERM']
envCommon['ENV']['TERM'] = os.environ['TERM']
Re: Cafu trunk on ArchLinux with GCC 4.7.1
Thanks to you and Scorphame for the work, patch is applied!sycoso wrote:Yes; thanks for pointing out the other thread. I attached the patch that worked for me!
Cookies??Btw: YAY, COOKIES
Well... this breaks the Windows build.envCommon['ENV']['TERM'] = os.environ['TERM']
This could of course be fixed, e.g. with
Code: Select all
if 'TERM' in os.environ:
envCommon['ENV']['TERM'] = os.environ['TERM']
I tried this here (under Ubuntu), but with or without this, I see no colors at all.
Best regards,
Carsten
Carsten
Re: Cafu trunk on ArchLinux with GCC 4.7.1
Well, you DO get colors with clang
And when people use colorgcc they get color, too. Well, maybe we should just let people do that on their own when they want colors...
And when people use colorgcc they get color, too. Well, maybe we should just let people do that on their own when they want colors...
Who is online
Users browsing this forum: No registered users and 10 guests