Compiling Problem with VC 2012
Bug #1096572 reported by
Travis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stratagus |
Fix Released
|
Undecided
|
Joris Dauphin |
Bug Description
I installed Visual Studio 2012 and I am having issues with errors saying there's a "C4005 - Macro Redefinition" error. I don't know how to go about getting this to go away, but I can't compile...
Anyone know how to fix it?
Changed in stratagus: | |
status: | New → Fix Committed |
Changed in stratagus: | |
status: | Fix Committed → Fix Released |
milestone: | none → 2.3 |
To post a comment you must log in.
I will try to reproduce (and fix) with vs express 2010.
gcc complaints only when define differs.
if it is directly in your code
-- 8< --
#ifndef duplicated_macro
#define duplicated_macro value
#endif
-- >8 --
should solve the problem for each duplicated macro.