Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Plugin compilation issue Ubuntu 13.04

<< < (2/2)

MortenMacFly:

--- Quote from: Alpha on October 20, 2013, 03:45:23 pm ---Probably.

--- End quote ---
I would say yes, too

stahta01:

--- Quote from: dmoore on October 20, 2013, 07:11:45 am ----ansi did the trick. Does that mean that we should be including -ansi in our plugin project template build options?

--- End quote ---

Might wish to verify that -std is NOT better (this assumes it works as well) before adding to project template.

From http://gcc.gnu.org/onlinedocs/cpp/System_002dspecific-Predefined-Macros.html#System_002dspecific-Predefined-Macros

--- Quote ---When the -ansi option, or any -std option that requests strict conformance, is given to the compiler, all the system-specific predefined macros outside the reserved namespace are suppressed. The parallel macros, inside the reserved namespace, remain defined.

--- End quote ---

Tim S.

Navigation

[0] Message Index

[*] Previous page

Go to full version