This site has been archived and made available for preservation purposes. No edits can be made.

Results 1 to 2 of 2

Thread: Error

  1. #1

    Error

    Error Copiling:
    D:\testes\test\vaultscript.h||In member function 'size_t vaultmp::_hash_Base:perator()(const vaultmp::Base&) const':|
    D:\testes\test\vaultscript.h|273|error: 'underlying_type' is not a member of 'std'|
    D:\testes\test\vaultscript.h|273|error: 'underlying_type' is not a member of 'std'|
    D:\testes\test\vaultscript.h|273|error: template argument 1 is invalid|
    D:\testes\test\vaultscript.h|273|error: expected primary-expression before ')' token|
    D:\testes\test\vaultscript.h|273|error: expected type-specifier|
    D:\testes\test\vaultscript.h|273|error: expected '>'|
    D:\testes\test\vaultscript.h|273|error: expected '('|
    D:\testes\test\vaultscript.h|273|error: 'underlying_type' is not a member of 'std'|
    D:\testes\test\vaultscript.h|273|error: expected primary-expression before '>' token|
    D:\testes\test\vaultscript.h|273|error: '::type' has not been declared|
    D:\testes\test\vaultscript.h||In member function 'size_t vaultmp::_hash_ID:perator()(const vaultmp::ID&) const':|
    D:\testes\test\vaultscript.h|274|error: 'underlying_type' is not a member of 'std'|
    D:\testes\test\vaultscript.h|274|error: 'underlying_type' is not a member of 'std'|
    D:\testes\test\vaultscript.h|274|error: template argument 1 is invalid|
    D:\testes\test\vaultscript.h|274|error: expected primary-expression before ')' token|
    D:\testes\test\vaultscript.h|274|error: expected type-specifier|
    D:\testes\test\vaultscript.h|274|error: expected '>'|
    D:\testes\test\vaultscript.h|274|error: expected '('|
    D:\testes\test\vaultscript.h|274|error: 'underlying_type' is not a member of 'std'|
    D:\testes\test\vaultscript.h|274|error: expected primary-expression before '>' token|
    D:\testes\test\vaultscript.h|274|error: '::type' has not been declared|
    D:\testes\test\vaultscript.h|283|error: expected unqualified-id before 'using'|
    D:\testes\test\vaultscript.h|286|error: expected unqualified-id before 'using'|
    D:\testes\test\vaultscript.h|289|error: expected unqualified-id before 'using'|
    D:\testes\test\vaultscript.h|294|error: expected unqualified-id before 'using'|
    D:\testes\test\records.h|3|warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword [enabled by default]|
    D:\testes\test\records.h|3|error: use of enum 'ALCH' without previous declaration|
    D:\testes\test\records.h|3|error: expected unqualified-id before ':' token|
    D:\testes\test\records.h|323|warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword [enabled by default]|
    D:\testes\test\records.h|323|error: use of enum 'AMMO' without previous declaration|
    D:\testes\test\records.h|323|error: expected unqualified-id before ':' token|
    D:\testes\test\records.h|512|warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword [enabled by default]|
    D:\testes\test\records.h|512|error: use of enum 'ARMA' without previous declaration|
    D:\testes\test\records.h|512|error: expected unqualified-id before ':' token|
    D:\testes\test\records.h|802|warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword [enabled by default]|
    D:\testes\test\records.h|802|error: use of enum 'ARMO' without previous declaration|
    D:\testes\test\records.h|802|error: expected unqualified-id before ':' token|
    D:\testes\test\records.h|1618|warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword [enabled by default]|
    D:\testes\test\records.h|1618|error: use of enum 'BOOK' without previous declaration|
    D:\testes\test\records.h|1618|error: expected unqualified-id before ':' token|
    D:\testes\test\records.h|2038|warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword [enabled by default]|
    D:\testes\test\records.h|2038|error: using typedef-name 'vaultmp::CELL' after 'enum'|
    D:\testes\test\records.h|2034|error: 'vaultmp::CELL' has a previous declaration here|
    D:\testes\test\records.h|2038|error: expected unqualified-id before ':' token|
    D:\testes\test\records.h|4415|warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword [enabled by default]|
    D:\testes\test\records.h|4415|error: using typedef-name 'vaultmp::CONT' after 'enum'|
    D:\testes\test\records.h|4411|error: 'vaultmp::CONT' has a previous declaration here|
    D:\testes\test\records.h|4415|error: expected unqualified-id before ':' token|
    D:\testes\test\records.h|5158|warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword [enabled by default]|
    D:\testes\test\records.h|5158|error: use of enum 'CREA' without previous declaration|
    D:\testes\test\records.h|5158|error: expected unqualified-id before ':' token|
    D:\testes\test\records.h|8298|warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword [enabled by default]|
    D:\testes\test\records.h|8298|error: use of enum 'ENCH' without previous declaration|
    D:\testes\test\records.h|8298|error: expected unqualified-id before ':' token|
    D:\testes\test\records.h|8703|warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword [enabled by default]|
    D:\testes\test\records.h|8703|error: using typedef-name 'vaultmp::IDLE' after 'enum'|
    D:\testes\test\records.h|8699|error: 'vaultmp::IDLE' has a previous declaration here|
    D:\testes\test\records.h|8703|error: expected unqualified-id before ':' token|
    D:\testes\test\records.h|12353|warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword [enabled by default]|
    D:\testes\test\records.h|12353|error: use of enum 'KEYM' without previous declaration|
    D:\testes\test\records.h|12353|error: expected unqualified-id before ':' token|
    D:\testes\test\records.h|12859|warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword [enabled by default]|
    D:\testes\test\records.h|12859|error: use of enum 'MISC' without previous declaration|
    ||More errors follow but not being shown.|
    ||Edit the max errors limit in compiler options...|
    ||=== Build finished: 50 errors, 12 warnings (0 minutes, 1 seconds) ===|


    and give me guide compiling in visual studio 2012

  2. #2
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5
    You need to compile with C++11 support. I don't know how to enable that in Visual Studio, I've never used it. I also think some C++11 features are still not implemented in VC++12. I'll have a look at that as soon as I have time.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •