please fix visual studio makefile

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


Nickak2003
Goblin
Posts: 272
Joined: Thu Jun 10, 2004 4:19 am
x 26

please fix visual studio makefile

Post by Nickak2003 »

in ogre references to cplusplus, visual studio has a bug/feature where this returns depreciated value - because the compiler is not actually fully compliant, and they don't intent to fix this until it is. https://developercommunity.visualstudio ... lus/139261
the solution is to add:
/Zc:
cplusplus
to c++ options.
this causes it to return a sane value that will match the language settings!

User avatar
sercero
Bronze Sponsor
Bronze Sponsor
Posts: 495
Joined: Sun Jan 18, 2015 4:20 pm
Location: Buenos Aires, Argentina
x 179

Re: please fix visual studio makefile

Post by sercero »

Can you create a pull request?

User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5477
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1359

Re: please fix visual studio makefile

Post by dark_sylinc »

I added https://github.com/OGRECave/ogre-next/pull/407

Once CI gives the good to go, it will be merged into master (3.0)