문제

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