Compiler Switches

Discussion to talk about software related topics only.
Post Reply
SeeCwriter
Posts: 606
Joined: Mon May 12, 2008 10:55 am

Compiler Switches

Post by SeeCwriter »

Beginning with v2.8.8 and up of the NB Tools, the compiler switch -malign-int was enabled by default for the C Compiler while it was left disabled for the C++ compiler. Since my application is a combination of C and C++ files, this caused my program to crash on boot-up. It took a couple of weeks to figure it out.
User avatar
pbreed
Posts: 1080
Joined: Thu Apr 24, 2008 3:58 pm

Re: Compiler Switches

Post by pbreed »

We have removed mailing-int from the 2.9.1 release.
The stuff that required it is done a differnt way.

It cause an amazing amount of problems.
Post Reply