×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Feb 2007
    Posts
    27

    [Compile Warning] warning: no newline at end of file

    Hello,

    I got a warning in .hrh file.
    The warning is "no newline at end of file".

    Please help me to solve this warning.

    Thank you.

  2. #2
    Registered User
    Join Date
    Feb 2007
    Location
    India
    Posts
    1,128

    Re: [Compile Warning] warning: no newline at end of file

    U only just enter after end of file then after u complie ur application, I hope u will not found any such kind of warning...

  3. #3
    Registered User
    Join Date
    Feb 2007
    Posts
    27

    Re: [Compile Warning] warning: no newline at end of file

    Hello,

    Thanks for your reply.

    I use Carbide C++ Express 1.1 and S60 3rd Edition SDK MR.
    I got another warning in the following
    C://Symbian//9.1//S60_3rd_MR//epoc32//include/eikmenup.h warning: enumeral mismatch in conditional expression: `TFalse' vs `TTrue'
    enumeral mismatch in conditional expression: `TFalse' vs `TTrue'[C://Symbian//9.1//S60_3rd_MR//epoc32//include/eikmenup.h]

    Please help me.
    Thank you

  4. #4
    Registered User
    Join Date
    Jul 2005
    Location
    Bengaluru, India
    Posts
    747

    Re: [Compile Warning] warning: no newline at end of file


  5. #5
    Registered User
    Join Date
    Feb 2007
    Posts
    27

    Re: [Compile Warning] warning: no newline at end of file

    Hello,

    Thanks for your reply.

    the waring is fixed.

    There are another strange warning in my program.
    (045) the following label is used but has not been declared: R_AVKON_LIST_HEADING_PANE[C:\\Symbian\\9.1\\S60_3rd_MR\\epoc32\\include\\avkon.rh]
    (045) the following label is used but has not been declared: R_AVKON_SOFTKEYS_OK_CANCEL[C:\\Symbian\\9.1\\S60_3rd_MR\\epoc32\\include\\avkon.rh]
    (045) the following label is used but has not been declared: R_AVKON_SOFTKEYS_OK_CANCEL[C:\\Symbian\\9.1\\S60_3rd_MR\\epoc32\\include\\avkon.rh]
    (045) the following label is used but has not been declared: R_AKN_SELECTION_LIST_DIALOG[C:\\Symbian\\9.1\\S60_3rd_MR\\epoc32\\include\\avkon.rh]

    I checked my program. There were no such resource used in the code.

    Please help me.

    Thank you.

  6. #6
    Registered User
    Join Date
    Jul 2005
    Location
    Bengaluru, India
    Posts
    747

    Re: [Compile Warning] warning: no newline at end of file

    Quote Originally Posted by SymNLeaner
    Hello,

    Thanks for your reply.

    the waring is fixed.

    There are another strange warning in my program.
    (045) the following label is used but has not been declared: R_AVKON_LIST_HEADING_PANE[C:\\Symbian\\9.1\\S60_3rd_MR\\epoc32\\include\\avkon.rh]
    (045) the following label is used but has not been declared: R_AVKON_SOFTKEYS_OK_CANCEL[C:\\Symbian\\9.1\\S60_3rd_MR\\epoc32\\include\\avkon.rh]
    (045) the following label is used but has not been declared: R_AVKON_SOFTKEYS_OK_CANCEL[C:\\Symbian\\9.1\\S60_3rd_MR\\epoc32\\include\\avkon.rh]
    (045) the following label is used but has not been declared: R_AKN_SELECTION_LIST_DIALOG[C:\\Symbian\\9.1\\S60_3rd_MR\\epoc32\\include\\avkon.rh]

    I checked my program. There were no such resource used in the code.

    Please help me.

    Thank you.
    Basically those labels are declared on avkon.rsg file, which you can find from epoc32\include folder. But that file is not included in avkon.rh, and you've included this file in your RSS file that's the reason why you are getting that warning message. You may either ignore this warnings.

  7. #7
    Registered User
    Join Date
    Feb 2007
    Posts
    27

    Re: [Compile Warning] warning: no newline at end of file

    Hello,

    I got it now.

    Thanks for your great help!

Similar Threads

  1. Replies: 3
    Last Post: 2006-05-02, 20:12
  2. Replies: 1
    Last Post: 2005-05-26, 14:22
  3. WARNING: JAR file doesn't define required attribute MIDlet-Name?
    By Balmark in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2004-04-27, 13:54
  4. can not successfully link any sample using .NET
    By lobotomat in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2002-08-20, 00:29
  5. Replies: 0
    Last Post: 2002-06-10, 12:24

Posting Permissions

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