×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    58

    Strange!! What is wrong here?

    Hello...

    When I run the "Btadvertiser" example, It runs well on the SDK Emulaor(I am using the 7650 Emulator)....but when I am trying to debug and step into the code, the following errors on "btsdp.h" is generated....
    "
    Compiling...
    Btadvertiserappui.cpp
    \Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(184) : error C2143: syntax error : missing ',' before 'public'
    \Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(184) : error C2059: syntax error : ':'
    \Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(214) : error C2143: syntax error : missing ';' before '}'
    \Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(222) : error C2518: keyword 'class' illegal in base class list; ignored
    \Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(225) : error C2143: syntax error : missing ';' before '*'
    \Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(225) : error C2501: 'NewNilL' : missing storage-class or type specifiers
    \Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(226) : error C2523: 'CSdpAttrValueList::~CSdpAttrValueNil' : destructor tag mismatch
    \Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(230) : error C2040: 'CSdpAttrValueNil' : 'int (void)' differs in levels of indirection from 'int'
    Btadvertiserappview.cpp
    \Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(184) : error C2143: syntax error : missing ',' before 'public'
    \Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(184) : error C2059: syntax error : ':'
    \Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(214) : error C2143: syntax error : missing ';' before '}'
    \Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(222) : error C2518: keyword 'class' illegal in base class list; ignored
    \Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(225) : error C2143: syntax error : missing ';' before '*'
    \Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(225) : error C2501: 'NewNilL' : missing storage-class or type specifiers
    \Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(226) : error C2523: 'CSdpAttrValueList::~CSdpAttrValueNil' : destructor tag mismatch
    \Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(230) : error C2040: 'CSdpAttrValueNil' : 'int (void)' differs in levels of indirection from 'int'
    Generating Code...
    Error executing cl.exe.

    BTADVERTISER.APP - 16 error(s), 0 warning(s)
    ""

    ......I believe "btsdp.h" is a system header file, how can there be error on that? or? What did I do wrong? any help is appreciated....

    Ntsing

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Posts
    271

    RE: Strange!! What is wrong here?

    Hi,

    You could run the example on the emulator, it means that you have once succesfully compiled it. When you try to debug it I am afraid that you have unintentionally modified the file or deleted some character. To be sure, look at the date of the btsdp.h file to see if it is not the date you fisrt debug or touch the code.

Posting Permissions

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