×

Discussion Board

Results 1 to 3 of 3

Thread: Parse error

  1. #1
    Regular Contributor
    Join Date
    Jun 2007
    Location
    Bangalore
    Posts
    208

    Unhappy Parse error

    Hi,
    I am writing the code for Serial Communication , but when I am defining the macro as shown below i am getting the Error "Parse Error"

    Please help me out

    #if define(__WINS__)
    _LIT(KPddName,"ECDRV");
    *#else
    _LIT(KPddName,"EUART1");
    #endif

    Regards
    Zahid

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,740

    Re: Parse error

    I would use #if defined and also remove the * from the #else-line.

  3. #3
    Regular Contributor
    Join Date
    Jun 2007
    Location
    Bangalore
    Posts
    208

    Talking Re: Parse error

    thxs..
    no * was by mistake,but any way code is working

    Regards,
    Zahid

Similar Threads

  1. XMl Parser Implementation for Symbian
    By ittiam in forum Symbian
    Replies: 26
    Last Post: 2009-09-16, 05:26
  2. please help cell id
    By perthachy in forum Symbian
    Replies: 12
    Last Post: 2007-07-10, 13:14
  3. carbidec++ helloworld project problem
    By akhin in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 0
    Last Post: 2007-03-11, 12:40
  4. S80 Platform SDK and Visual Studio .NET Linking Error
    By jayantjain in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2005-10-07, 22:14
  5. User break point error in Grid
    By ag24master in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-08-07, 08:20

Posting Permissions

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