Variables called 'namespace' in include files cause problems when included in
c++ codebase
------------------------------------------------------------------------------------------
Key: AXIS2C-673
URL: https://issues.apache.org/jira/browse/AXIS2C-673
Project: Axis2-C
Issue Type: Bug
Environment: GCC 4.1.2, Ubuntu Linux
Reporter: Jamie Lyon
Including files such as rp_header.h and rp_element.h in axis2c/neethi/include
generate the following error:
../../../include/axis2-1.1/rp_header.h:57: error: expected ',' or '...' before
'namespace'
This is due to the fact that the word 'namespace' is reserved in c++. It can be
fixed by simply renaming the variable to some other values as will be shown by
the example diffs I will attach.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]