×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Jul 2004
    Posts
    201

    codewarrior make program, but error

    I use codewarrior to make program.
    If use abld build winscw urel to make my program, system don't talk that my program is error.
    But if use abld build armi urel to make my program, system talk that my program is error, the error is "crosses initialization of 'class TUid const tuidBack' "

    my code is that
    case EExampleItem1:
    iEikonEnv->InfoMsg(R_EXAMPLE_TEXT_ITEM1);

    static const TUid tuidBack = {0x102050F8};
    break;


    Please teach me the reason.

    Thank you very much.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166
    try this:

    case EExampleItem1:
    {
    iEikonEnv->InfoMsg(R_EXAMPLE_TEXT_ITEM1);

    static const TUid tuidBack = {0x102050F8};
    }
    break;

  3. #3
    Registered User
    Join Date
    May 2005
    Posts
    15

    Re: codewarrior make program, but error

    yeah it worked for me too..but I didnt get the reason behind it...SymbinaYucca, could you please explain?

    thanks

Posting Permissions

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