[ 
https://issues.apache.org/jira/browse/AXIS2C-673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jamie Lyon updated AXIS2C-673:
------------------------------

    Attachment: rp_element.h.diff
                rp_header.h.diff

Example diffs showing the simple change that will cause the code to compile 
when included into c++ code -- there may be other files that need changing 
also, these are just the two I had to use.

> 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
>         Attachments: rp_element.h.diff, rp_header.h.diff
>
>
> 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]

Reply via email to