Skip to content

workaround to get it compiled on OpenSuse 12.3#1

Open
kohlerm wants to merge 1 commit into
masterfrom
kohlerm-patch-opensuse12_3
Open

workaround to get it compiled on OpenSuse 12.3#1
kohlerm wants to merge 1 commit into
masterfrom
kohlerm-patch-opensuse12_3

Conversation

@kohlerm

@kohlerm kohlerm commented Mar 25, 2015

Copy link
Copy Markdown
Owner

compilation would fail on OpenSuse 12.3 with either g++ 4.7 or 4.8
g++ -I src/main/cpp/ -std=c++0x -c '-DBLAZE_JAVA_CPU="k8"' -DBLAZE_OPENSOURCE=1 -o output/ijar/classfile.cc.o third_party/ijar/classfile.cc
third_party/ijar/classfile.cc: In function ‘devtools_ijar::ClassFile* devtools_ijar::ReadClass(const void*, size_t)’:
third_party/ijar/classfile.cc:1393:35: error: expected ‘)’ before ‘PRIx32’

I haven't done any C/C++ programming in a while, so forgive my ignorance if this is not a correct fix.

compilation would fail on OpenSuse 12.3 with either g++ 4.7 or 4.8 
 g++ -I src/main/cpp/ -std=c++0x -c '-DBLAZE_JAVA_CPU="k8"' -DBLAZE_OPENSOURCE=1 -o output/ijar/classfile.cc.o third_party/ijar/classfile.cc
third_party/ijar/classfile.cc: In function ‘devtools_ijar::ClassFile* devtools_ijar::ReadClass(const void*, size_t)’:
third_party/ijar/classfile.cc:1393:35: error: expected ‘)’ before ‘PRIx32’

I haven't done any C/C++ programming in a while, so forgive my ignorance if this is not a correct fix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant