Jump to content

Gcc49 compile error


Recommended Posts

  • Silver
14 hours ago, blackList said:

I'm trying to compile my server source with gcc49 / c ++ 11. And I get this error when I try to compile cryptopp7.0

I tried with this tutorial 

4WdONkd.png

Hi

please try this:

Open cryptopp/config.h

and uncomment // #define CRYPTOPP_DISABLE_ASM 1

or use compile flag: CRYPTOPP_DISABLE_ASM

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
Share on other sites

vor 6 Stunden schrieb Helia01:

Hi

please try this:

Open cryptopp/config.h

and uncomment // #define CRYPTOPP_DISABLE_ASM 1

or use compile flag: CRYPTOPP_DISABLE_ASM

that worked, thanks but now i get this error, if i try to compile db. I changed already typeof with __typeof and auto_ptr with unique_ptr

mUansIc.png

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

vor 3 Minuten schrieb Hik:

Last chance:

Open:

libthecore/StdAFx.h

Find:


#define __typeof typeof

and replace with:


#if __cplusplus <= 199711L
//C++99 Compatibility code
#define __typeof typeof
#endif

i cant find #define __typeof typeof only this

EFvhbhE.png

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.