I am trying to move our system from Xcode 3.2 to Xcode 4.6 and I get following compilation errors (Same line)

Expected identifier or '{' 
Expected unqualified-id 

The code causing an error is (The line - namespace PVM):

namespace wvNS
{
   namespace PVM
   {
       int a = 1;
   }
}

We have this code in number of files inside our system. Can someone spot a light on this?

Thanks!

有帮助吗?

解决方案

Thanks Matt!

I found this in 10.8 SDK (Obviously was not in 10.6 SDK)

#define PSWP    0
#define PVM     4
#define PINOD   8
#define PRIBIO  16
#define PVFS    20
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top