1 Reply Latest reply: Dec 5, 2012 4:45 AM by etresoft
Mohit Gonduley Level 1 Level 1

I upgraded my project from xcode 3.2 to xcode 4.5

My code is platform independent and it compiles sucessfully on Windows and Linux with out any errors

But on Mac 10.7.4 and xcode 4.5 it gives semantic errors - "Explicit specialization has extraneous, inconsistent storage class static"


I saw some post which sayes adding header search path as recurssive causes this problem. But all my header search paths are non recursive.


Please let me know what could be causing the issue. I am new to Mac and i would appriciate any help


Thanks in Advance

MacBook Pro, Mac OS X (10.7.4), Xcode 4.5
  • etresoft Level 7 Level 7

    What is the code in question? While the compilers in Linux and Windows will support templates, they will accept older syntax. The newer Clang compiler in Xcode strives to give better error messages and part of that is strict compilance with the C++ standard.