You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Steve Huston (JIRA)" <qp...@incubator.apache.org> on 2008/10/02 22:09:46 UTC
[jira] Created: (QPID-1311) Portability: define types in a
platform-neutral file instead of including stdint.h
Portability: define types in a platform-neutral file instead of including stdint.h
----------------------------------------------------------------------------------
Key: QPID-1311
URL: https://issues.apache.org/jira/browse/QPID-1311
Project: Qpid
Issue Type: Improvement
Components: C++ Broker, C++ Client
Affects Versions: M3
Reporter: Steve Huston
Priority: Minor
Fix For: M4
In places where common integer types are needed, code includes <stdint.h> which is available on Posix systems. That file is not available on Windows, however. To remedy this, I propose adding a new header file, qpid/cpp/src/qpid/sys/IntegerTypes.h which includes a platform-specific IntegerTypes.h file. Code that currently includes <stdint.h> will not include "qpid/sys/IntegerTypes.h"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (QPID-1311) Portability: define types in a
platform-neutral file instead of including stdint.h
Posted by "Steve Huston (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Huston updated QPID-1311:
-------------------------------
Attachment: types.diff
> Portability: define types in a platform-neutral file instead of including stdint.h
> ----------------------------------------------------------------------------------
>
> Key: QPID-1311
> URL: https://issues.apache.org/jira/browse/QPID-1311
> Project: Qpid
> Issue Type: Improvement
> Components: C++ Broker, C++ Client
> Affects Versions: M3
> Reporter: Steve Huston
> Priority: Minor
> Fix For: M4
>
> Attachments: types.diff
>
>
> In places where common integer types are needed, code includes <stdint.h> which is available on Posix systems. That file is not available on Windows, however. To remedy this, I propose adding a new header file, qpid/cpp/src/qpid/sys/IntegerTypes.h which includes a platform-specific IntegerTypes.h file. Code that currently includes <stdint.h> will not include "qpid/sys/IntegerTypes.h"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (QPID-1311) Portability: define types in a
platform-neutral file instead of including stdint.h
Posted by "Steve Huston (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Huston resolved QPID-1311.
--------------------------------
Resolution: Fixed
Attached patch applied in svn revision 701231. Any review comments are welcome.
> Portability: define types in a platform-neutral file instead of including stdint.h
> ----------------------------------------------------------------------------------
>
> Key: QPID-1311
> URL: https://issues.apache.org/jira/browse/QPID-1311
> Project: Qpid
> Issue Type: Improvement
> Components: C++ Broker, C++ Client
> Affects Versions: M3
> Reporter: Steve Huston
> Priority: Minor
> Fix For: M4
>
> Attachments: types.diff
>
>
> In places where common integer types are needed, code includes <stdint.h> which is available on Posix systems. That file is not available on Windows, however. To remedy this, I propose adding a new header file, qpid/cpp/src/qpid/sys/IntegerTypes.h which includes a platform-specific IntegerTypes.h file. Code that currently includes <stdint.h> will not include "qpid/sys/IntegerTypes.h"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.