[Crash-utility] Extensions in C++

Ratnam Tatavarty rtatavarty at gmail.com
Mon Jun 28 19:16:32 UTC 2010


Hi,
I am looking for a way to code/compile my Crash tool extension .so in CPP.
During compile step, I hit a name collision with "namespace" keyword upon
including defs.h.
Does anyone try any CPP extensions before and if yes are there any
guidelines/suggestions
about the required changes, compile options? Any insights about Crash
compatibility with CPP
are greatly appreciated.

Build errors:

defs.h:1917: error: expected identifier before ‘namespace’
defs.h:1917: error: expected unqualified-id before ‘namespace’
defs.h:1956: error: expected identifier before ‘namespace’
...
defs.h:2967: error: expected unqualified-id before ‘typename’
defs.h:2967: error: abstract declarator ‘char*’ used as declaration
defs.h:2967: error: expected ‘;’ before ‘typename’

Thanks and Regads,
Ratnam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20100628/16c2c9b8/attachment.htm>


More information about the Crash-utility mailing list