×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    3

    Exclamation "illegal function overloading" error on symbian sockets

    Hi all,
    I got the strangest possible error message:

    **********************************************
    Path
    (included from:[C:\Symbian\9.2\S60_3rd_FP1\EPOC32\include\e32cmn.h]
    -------------------
    Location
    line 6009
    -------------------
    Creation Time
    1193667485312
    -------------------
    Id
    2789
    **********************************************

    BTW, I'm using Carbide 1.2 and S60 SDK (as you can see in the path)
    Any idea what could be causing this message?
    Also, I get more references to the same file(and line in it) souch as:

    **********************************************
    Path
    C:\Symbian\9.2\S60_3rd_FP1\EPOC32\include\e32base.h:8[C:\Symbian\9.2\S60_3rd_FP1\EPOC32\include\e32cmn.h]
    -------------------
    Location
    line 6009
    -------------------
    Creation Time
    1193667485312
    -------------------
    Id
    2791
    **********************************************

    And finally, I get:
    **********************************************
    Path
    illegal function overloading[C:\Symbian\9.2\S60_3rd_FP1\EPOC32\include\e32cmn.h]
    -------------------
    Location
    line 6009
    -------------------
    Creation Time
    1193667485312
    -------------------
    Id
    2788
    **********************************************

    Once I go to that line it says:
    ========
    TBool operator==(TTrue,volatile const TBool); // e32cmn.h - line 6009
    ========
    What could this mean? Does the compiler think that I overloaded the operator? Idon't think that I have because I

    don't even use TBool in my project. The only line of my code that is mentioned in all of those errors is this one:
    ========
    #include <in_sock.h> // Includes <es_sock.h>
    ========
    and here is the error mesg:
    **********************************************
    Path
    C:\VSS\SDKs\CrossPlatform\Network\pt_sockets\pcts_symbian.h:16[C:\Symbian\9.2\S60_3rd_FP1\EPOC32\include\e32cmn.h]
    -------------------
    Location
    line 6009
    -------------------
    Creation Time
    1193667485312
    -------------------
    Id
    2794
    **********************************************

    Please help me resolve this...
    Thanks in advance, elgrande

  2. #2
    Registered User
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: "illegal function overloading" error on symbian sockets

    Check if you're doing somewhere a comparison like
    Code:
    if (boolean == ETrue)
    If you are, you should simply replace it by
    Code:
    if (boolean)

  3. #3
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Bangalore
    Posts
    91

    Re: "illegal function overloading" error on symbian sockets

    Check this , it might help.

    http://discussion.forum.nokia.com/fo...d.php?t=119337

    have "include guards" for all your headers.
    Cheers
    Subhasis

  4. #4
    Registered User
    Join Date
    Aug 2007
    Posts
    3

    Re: "illegal function overloading" error on symbian sockets

    Actually the problem was with the linkage of some routines. Once they were set to be extern C everything started to build.
    Thanks for the tip.
    elgrande

Similar Threads

  1. 7650 Symbian Connect
    By alexbas in forum Symbian Tools & SDKs
    Replies: 4
    Last Post: 2008-11-16, 10:40
  2. Replies: 0
    Last Post: 2003-06-13, 01:10
  3. Replies: 0
    Last Post: 2003-06-13, 01:09
  4. Symbian os sockets
    By danielna in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2002-12-05, 05:27
  5. sockets in the 7650 and Symbian devices for J2ME
    By swetny in forum Mobile Java General
    Replies: 1
    Last Post: 2002-07-03, 10:42

Posting Permissions

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