Opened 13 years ago
Closed 13 years ago
#3759 closed Patches (fixed)
Symbian S60 platform support
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | Boost 1.42.0 | Component: | config |
Version: | Boost 1.41.0 | Severity: | Not Applicable |
Keywords: | Cc: |
Description
Config for S60 platform with Open C / C++ plugin
Attachments (6)
Change History (11)
by , 13 years ago
Attachment: | select_platform_config.diff added |
---|
by , 13 years ago
Attachment: | symbian.hpp added |
---|
by , 13 years ago
Attachment: | select_platform_config.2.diff added |
---|
by , 13 years ago
Attachment: | symbian.2.hpp added |
---|
comment:1 by , 13 years ago
comment:2 by , 13 years ago
I assume you meant
#if defined(WINSCW) && !defined(BOOST_DISABLE_WIN32)
not
#if definde(WINSCW) && !defined(BOOST_DISABLE_WIN32)
?
Also why disable Win32 API support when _WIN32 is defined? Or are those API's and windows.h really not available?
And finally, what do the "S60_5th_EDITION" macros do? If they change the behaviour of the Symbian SDK then defining them in a header file is very much the wrong thing to do - they may already have been defined to other values on the command line, and/or the headers that check those macros may have already been included.
John.
comment:3 by , 13 years ago
I assume you meant #if defined(WINSCW) && !defined(BOOST_DISABLE_WIN32)
Yes, sorry I'll correct this
Also why disable Win32 API support when _WIN32 is defined?
I guess it's rather bug of winscw compiler (it was made from Code warrior for windows). Actually S60 doesn't have any windows-like API, but it has POSIX API.
And finally, what do the "S60_5th_EDITION" macros do?
It doesn't change SDK behaviour. It's just to distinguish different platforms (Series 60 SDK versions, UIQ). But currently such macro it's not necessary.
I'll provide a corrected file
by , 13 years ago
Attachment: | symbian.3.hpp added |
---|
by , 13 years ago
Attachment: | symbian.4.hpp added |
---|
comment:4 by , 13 years ago
In symbian.4.hpp I corrected endiness support. SDK defines _LITTLE_ENDIAN 1234 / _BIG_ENDIAN 4321 / _BYTE_ORDER = _LITTLE_ENDIAN But that macros have to start with two underscores
comment:5 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Second files are corrected. (I can't delete previous versions)