×

Discussion Board

Results 1 to 3 of 3

Thread: preprocessor

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    26

    preprocessor

    Hi

    How to add Preprocessor in codewarrior,like how we add preprocessor in MSVC++ the same way.

    Say I need add _CHECK,_WIN32 in codewarrior how could I do so.

    bye
    Ddeveloper

  2. #2
    Nokia Developer Expert
    Join Date
    Dec 2004
    Location
    Austin, TX
    Posts
    399
    I presume you are asking how add preprocessor macros to the command-line during the build? If so, here's how:

    1) If the SDK has set the Symbian Linker v2 in the Target Settings pref then you would add your macros to the SYmbian Compiler > Macros field in a comma delimited list (e.g. _CHECK,_WIN32).

    2) If the SDK you are using as set the "Symbian Linker" in the Target Settings pref then you would need to add the macros to "Additional Command Line" field in the "Symbian Target" pref. But here would add them as they are processed by the command line (e.g. -D _CHECK -D _WIN32)

    Tim

  3. #3
    Registered User
    Join Date
    Dec 2004
    Posts
    26
    Thanks a lot Tim,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •