×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Super Contributor
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    763

    Angry Illegal 'operator' declaration!!

    Hi I have this line in my code:
    >TAny* operator new(TState1 /*aState*/);
    This is inside a class declaration and I have TState1 defined.
    Why is codewarrior's gcc compiler giving me this error, any ideas?
    Bye.
    --Mayur.

  2. #2
    Nokia Developer Expert
    Join Date
    Oct 2004
    Location
    Austin, TX USA
    Posts
    271
    >TAny* operator new(TState1 /*aState*/);

    What happens if you uncomment aState in the above line?

    Regards,

    Matt Pinsonneault
    Nokia IDE Solutions

Posting Permissions

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