Opened 13 years ago

Closed 13 years ago

#3759 closed Patches (fixed)

Symbian S60 platform support

Reported by: Yuriy A. Krasnoschek <aka.rider@…> 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)

select_platform_config.diff (450 bytes ) - added by Yuriy A. Krasnoschek <aka.rider@…> 13 years ago.
symbian.hpp (1.9 KB ) - added by Yuriy A. Krasnoschek <aka.rider@…> 13 years ago.
select_platform_config.2.diff (3.0 KB ) - added by Yuriy A. Krasnoschek <aka.rider@…> 13 years ago.
symbian.2.hpp (2.2 KB ) - added by Yuriy A. Krasnoschek <aka.rider@…> 13 years ago.
symbian.3.hpp (2.2 KB ) - added by Yuriy A. Krasnoschek <aka.rider@…> 13 years ago.
symbian.4.hpp (2.6 KB ) - added by Yuriy A. Krasnoschek <aka.rider@…> 13 years ago.

Download all attachments as: .zip

Change History (11)

by Yuriy A. Krasnoschek <aka.rider@…>, 13 years ago

Attachment: select_platform_config.diff added

by Yuriy A. Krasnoschek <aka.rider@…>, 13 years ago

Attachment: symbian.hpp added

by Yuriy A. Krasnoschek <aka.rider@…>, 13 years ago

by Yuriy A. Krasnoschek <aka.rider@…>, 13 years ago

Attachment: symbian.2.hpp added

comment:1 by Yuriy A. Krasnoschek <aka.rider@…>, 13 years ago

Second files are corrected. (I can't delete previous versions)

comment:2 by John Maddock, 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 Yuriy A. Krasnoschek <aka.rider@…>, 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 Yuriy A. Krasnoschek <aka.rider@…>, 13 years ago

Attachment: symbian.3.hpp added

by Yuriy A. Krasnoschek <aka.rider@…>, 13 years ago

Attachment: symbian.4.hpp added

comment:4 by Yuriy A. Krasnoschek <aka.rider@…>, 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 John Maddock, 13 years ago

Resolution: fixed
Status: newclosed

(In [60125]) Add Symbian platform config. Fixes #3759.

Note: See TracTickets for help on using tickets.