Jump to content

Recommended Posts

  • Active Member
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
https://metin2.dev/topic/19491-gcc49-compile-error/#findComment-105970
Share on other sites

  • Bot
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

english_banner.gif

Link to comment
https://metin2.dev/topic/19491-gcc49-compile-error/#findComment-105991
Share on other sites

  • Bot
vor 4 Stunden schrieb Hik:

In common\stl.h you have:

#define itertype(v) __typeof((v).begin())?

 

If asnwer is yes, replace with:

#ifndef itertype
#define itertype(v) __typeof((v).begin())
#endif

 

already there

Sew2MNh.png

Edited by Metin2 Dev
Core X - External 2 Internal

english_banner.gif

Link to comment
https://metin2.dev/topic/19491-gcc49-compile-error/#findComment-106009
Share on other sites

  • Bot
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

english_banner.gif

Link to comment
https://metin2.dev/topic/19491-gcc49-compile-error/#findComment-106012
Share on other sites

  • Bot
vor 9 Stunden schrieb Shelby:

Use https://en.cppreference.com/w/cpp/language/decltype

#define itertype (v) decltype ((v).begin ())

Or auto type .

Like:

auto it = 0; 

etc..

MAS8iXT.png

Edited by Metin2 Dev
Core X - External 2 Internal

english_banner.gif

Link to comment
https://metin2.dev/topic/19491-gcc49-compile-error/#findComment-106116
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.