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

src/demangle.h:80:27: error: expected initializer before 'Demangle' bool GOOGLE_GLOG_DLL_DECL Demangle(const char *mangled, char *out, int out_size); #108

Closed
anthonyyuan opened this issue May 6, 2016 · 2 comments

Comments

@anthonyyuan
Copy link

anthonyyuan commented May 6, 2016

ibtool: compile: g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNO_FRAME_POINTER -DNDEBUG -g -O2 -MT src/libglog_la-demangle.lo -MD -MP -MF src/.deps/libglog_la-demangle.Tpo -c src/demangle.cc -fPIC -DPIC -o src/.libs/libglog_la-demangle.o
In file included from src/demangle.cc:38:0:
**src/demangle.h:80:27: error: expected initializer before 'Demangle'
bool GOOGLE_GLOG_DLL_DECL Demangle(const char mangled, char out, int out_size);
^
make: *** [src/libglog_la-demangle.lo] 错误 1
[root@localhost glog]#

@anthonyyuan anthonyyuan changed the title make ------glog os centos7 src/demangle.h:80:27: error: expected initializer before 'Demangle' bool GOOGLE_GLOG_DLL_DECL Demangle(const char *mangled, char *out, int out_size); May 6, 2016
@ldemailly
Copy link

ldemailly commented Jun 23, 2016

seeing the same issue

libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I./src -I./src -I/home/travis/include -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNO_FRAME_POINTER -DNDEBUG -g -O2 -MT src/libglog_la-symbolize.lo -MD -MP -MF src/.deps/libglog_la-symbolize.Tpo -c src/symbolize.cc  -fPIC -DPIC -o src/.libs/libglog_la-symbolize.o
In file included from src/demangle.cc:38:
./src/demangle.h:80:26: error: expected ';' after top level declarator
bool GOOGLE_GLOG_DLL_DECL Demangle(const char *mangled, char *out, int o...
                         ^
                         ;
1 error generated.
make: *** [src/libglog_la-demangle.lo] Error 1

https://travis-ci.org/facebook/wdt/jobs/139838858

@ldemailly
Copy link

seems like this is a dup of #52

@sergiud sergiud closed this as completed Mar 30, 2021
@sergiud sergiud mentioned this issue May 6, 2021
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

No branches or pull requests

3 participants