Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error on gcc 3.4.6 #114

Open
GoogleCodeExporter opened this issue May 17, 2015 · 1 comment
Open

Compilation error on gcc 3.4.6 #114

GoogleCodeExporter opened this issue May 17, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Hello, 

I hit some trouble to use last version on old RedHat:

In file included from JavaScriptRuntime.cc:126:
/home/albert/albert/3albert/include/arch_independent/rapidjson/document.h: In 
destructor `rapidjson::GenericValue<Encoding, Allocator>::~GenericValue()':
/home/albert/albert/3albert/include/arch_independent/rapidjson/document.h:489: 
error: expected class-name before '(' token
/home/albert/albert/3albert/include/arch_independent/rapidjson/document.h: In 
member function `typename rapidjson::GenericMemberIterator<false, Encoding, 
Allocator>::Iterator rapidjson::GenericValue<Encoding, 
Allocator>::RemoveMember(typename rapidjson::GenericMemberIterator< false, 
Encoding, Allocator>::Iterator)':
/home/albert/albert/3albert/include/arch_independent/rapidjson/document.h:924: 
error: expected class-name before '(' token

Error come from:
  m->~GenericMember();

gcc -v 
Lecture des spécification à partir de 
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs
Configuré avec: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux
Modèle de thread: posix
version gcc 3.4.6 20060404 (Red Hat 3.4.6-9)

Of course build without problem on the same host with gcc-4.4.7

Any clue ?
Thanks

Original issue reported on code.google.com by [email protected] on 26 Aug 2014 at 8:40

@GoogleCodeExporter
Copy link
Author

Sorry not the good project :-p

Original comment by [email protected] on 26 Aug 2014 at 1:13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant