×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    46

    smutset.h - error C2236: unexpected 'class' 'CSmsNumber'

    I'm using V. Studio .net 2003 + Nokia's s60 SDK version 1.2:

    I'm trying to compile a .cpp file that includes smutset.h.
    For some reason the compiler outputs the following error:

    C:\Symbian\6.1\Series60\\Epoc32\Include\smutset.h(34): error C2236: unexpected 'class' 'CSmsNumber'

    I even went to the extreme and created a .cpp file that contains ONLY the following line:

    #include <smutset.h>

    And guess what... the compiler still outputs the same error message...

    Can anybody help me: why does this happen?

    Thanks.

  2. #2
    Regular Contributor
    Join Date
    Aug 2005
    Posts
    79

    Re: smutset.h - error C2236: unexpected 'class' 'CSmsNumber'

    Why do you have double slash it path? Does your compilator return exactly this string?

  3. #3
    Registered User
    Join Date
    Feb 2006
    Posts
    46

    Re: smutset.h - error C2236: unexpected 'class' 'CSmsNumber'

    I don't know why the double-slash - but it ALWAYS returns this.
    Anyway, it points to the right place - if you ignore the second slash...

  4. #4
    Regular Contributor
    Join Date
    Aug 2005
    Posts
    79

    Re: smutset.h - error C2236: unexpected 'class' 'CSmsNumber'

    try to build helloword example. Maybe something wrong with compilator

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: smutset.h - error C2236: unexpected 'class' 'CSmsNumber'

    Check your header files. It is likely you have forgotten to put a semicolon after one of your class-declarations. Start with the one you include just before smutset.h.

Similar Threads

  1. Help needed with +CPMS, +CNMI for Class 0,1,2 SMs
    By joe--joe in forum General Messaging
    Replies: 3
    Last Post: 2009-03-09, 14:55
  2. need information about j2me polish
    By rathikathangaraj in forum Mobile Java General
    Replies: 4
    Last Post: 2007-12-19, 09:01
  3. Replies: 2
    Last Post: 2007-03-14, 17:15
  4. 21 errors in j2me , help in soving them
    By abhishek_1211 in forum General Messaging
    Replies: 0
    Last Post: 2006-04-01, 09:04
  5. Exceptions while loading application
    By avinash_rs in forum Mobile Java General
    Replies: 0
    Last Post: 2003-06-09, 10:53

Posting Permissions

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