Compiler Switches

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

Compiler Switches

Post by SeeCwriter » Tue Sep 03, 2019 7:47 am

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: 786
Joined: Thu Apr 24, 2008 3:58 pm

Re: Compiler Switches

Post by pbreed » Mon Sep 09, 2019 2:53 pm

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