error on vc2010

Results 1 to 4 of 4
  1. #1
    Apprentice nightguty is offline
    MemberRank
    Jul 2012 Join Date
    Kiel, GermanyLocation
    16Posts

    error on vc2010

    hello i become this error on making exe

    plz help me to fix this prob

    Code:
    Error 1 error C2059: syntax error: 'static_assert' d: \ warz \ bin \ old \ src \ eternity \ include \ r3dCompileAssert.h 7 1 Supervisor Server
    
    Error 4 error C2059: syntax error: 'static_assert' d: \ warz \ \ old \ bin src \ eternity \ include \ r3dCompileAssert.h 7 1 Eternity
    
    Error 7 error C2059: syntax error: 'static_assert' d: \ bin warz \ \ old \ server \ src \ wo_gameserver \ sources \ r3dCompileAssert.h 7 1 Warz Gameserver
    
    Error 10 error C2059: syntax error: 'static_assert' c: \ warz \ \ old \ bin src \ eternity \ include \ r3dCompileAssert.h 7 1 master server
    
    Error 2 error C2143: syntax error: missing ';' before '{' d: \ warz \ \ old \ bin src \ eternity \ include \ r3dCompileAssert.h 8 1 Supervisor Server
    
    Error 5 error C2143: syntax error: missing ';' before '{' d: \ warz \ \ old \ bin src \ eternity \ include \ r3dCompileAssert.h 8 1 Eternity
    
    Error 8 error C2143: syntax error: missing ';' before '{' d: \ bin warz \ \ old \ server \ src \ wo_gameserver \ sources \ r3dCompileAssert.h 8 1 Warz Gameserver
    
    Error 11 error C2143: syntax error: missing ';' before '{' d: \ warz \ \ old \ bin src \ eternity \ include \ r3dCompileAssert.h 8 1 master server
    
    Error 3 error C2447: '{': missing function header - parameter list in the old style? d: \ warz \ bin \ old \ src \ eternity \ include \ r3dCompileAssert.h 8 1 Supervisor Server
    
    Error 6 error C2447: '{': missing function header - parameter list in the old style? d: \ warz \ \ old \ bin src \ eternity \ include \ r3dCompileAssert.h 8 1 Eternity
    
    Error 9 error C2447: '{': missing function header - parameter list in the old style? d: \ warz \ \ old bin \ server \ src \ wo_gameserver \ sources \ r3dCompileAssert.h 8 1 Warz Gameserver
    
    Error 12 error C2447: '{': missing function header - parameter list in the old style? d: \ warz \ \ old \ bin src \ eternity \ include \ r3dCompileAssert.h 8 1 master server


  2. #2
    Valued Member Ultraporing is offline
    MemberRank
    Apr 2013 Join Date
    GermanyLocation
    101Posts

    Re: error on vc2010

    Quote Originally Posted by nightguty View Post
    hello i become this error on making exe

    plz help me to fix this prob

    Code:
    Error 1 error C2059: syntax error: 'static_assert' d: \ warz \ bin \ old \ src \ eternity \ include \ r3dCompileAssert.h 7 1 Supervisor Server
    
    Error 4 error C2059: syntax error: 'static_assert' d: \ warz \ \ old \ bin src \ eternity \ include \ r3dCompileAssert.h 7 1 Eternity
    
    Error 7 error C2059: syntax error: 'static_assert' d: \ bin warz \ \ old \ server \ src \ wo_gameserver \ sources \ r3dCompileAssert.h 7 1 Warz Gameserver
    
    Error 10 error C2059: syntax error: 'static_assert' c: \ warz \ \ old \ bin src \ eternity \ include \ r3dCompileAssert.h 7 1 master server
    
    Error 2 error C2143: syntax error: missing ';' before '{' d: \ warz \ \ old \ bin src \ eternity \ include \ r3dCompileAssert.h 8 1 Supervisor Server
    
    Error 5 error C2143: syntax error: missing ';' before '{' d: \ warz \ \ old \ bin src \ eternity \ include \ r3dCompileAssert.h 8 1 Eternity
    
    Error 8 error C2143: syntax error: missing ';' before '{' d: \ bin warz \ \ old \ server \ src \ wo_gameserver \ sources \ r3dCompileAssert.h 8 1 Warz Gameserver
    
    Error 11 error C2143: syntax error: missing ';' before '{' d: \ warz \ \ old \ bin src \ eternity \ include \ r3dCompileAssert.h 8 1 master server
    
    Error 3 error C2447: '{': missing function header - parameter list in the old style? d: \ warz \ bin \ old \ src \ eternity \ include \ r3dCompileAssert.h 8 1 Supervisor Server
    
    Error 6 error C2447: '{': missing function header - parameter list in the old style? d: \ warz \ \ old \ bin src \ eternity \ include \ r3dCompileAssert.h 8 1 Eternity
    
    Error 9 error C2447: '{': missing function header - parameter list in the old style? d: \ warz \ \ old bin \ server \ src \ wo_gameserver \ sources \ r3dCompileAssert.h 8 1 Warz Gameserver
    
    Error 12 error C2447: '{': missing function header - parameter list in the old style? d: \ warz \ \ old \ bin src \ eternity \ include \ r3dCompileAssert.h 8 1 master server
    use vs2008 sp1

  3. #3
    Valued Member Sh4d0v is offline
    MemberRank
    Nov 2012 Join Date
    Warsaw, PolandLocation
    119Posts

    Re: error on vc2010

    here is fix:
    Add #define static_assert static_assert_old
    Above
    "namespace static_assert
    {
    template <bool> struct STATIC_ASSERT_FAILURE;"

  4. #4

    Re: error on vc2010

    I love You bro ♥



Advertisement