Jump to content
metin2dev
  • 0
blackList

open Gcc49 compile error

Question

17 answers to this question

Recommended Posts

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

  • Like 1

Share this post


Link to post
Share on other sites
  • 0
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

Share this post


Link to post
Share on other sites
  • 0

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

 

Share this post


Link to post
Share on other sites
  • 0
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

Share this post


Link to post
Share on other sites
  • 0

Last chance:

Open:

libthecore/StdAFx.h

Find:

#define __typeof typeof

and replace with:

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

Share this post


Link to post
Share on other sites
  • 0
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×