You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Manjula Peiris (JIRA)" <ji...@apache.org> on 2007/08/17 07:48:30 UTC

[jira] Resolved: (AXIS2C-673) Variables called 'namespace' in include files cause problems when included in c++ codebase

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

Manjula Peiris resolved AXIS2C-673.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.0

Fixed in the latest svn. Thanks for pointing this.

> 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
>             Fix For: 1.1.0
>
>         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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org