[reSIProcate] error: extra semicolon
- From: "Alfred E. Heggestad" <aeh@xxxxxx>
- Date: Mon, 14 May 2007 13:52:52 +0200
Hi
I get alot of errors when building my application (using resip-1.1)
on a Red Hat 4 box:
/usr/local/include/resip/stack/Headers.hxx:115: error: extra semicolon
/usr/local/include/resip/stack/Headers.hxx:116: error: extra semicolon
/usr/local/include/resip/stack/Headers.hxx:117: error: extra semicolon
/usr/local/include/resip/stack/Headers.hxx:118: error: extra semicolon
/usr/local/include/resip/stack/Headers.hxx:119: error: extra semicolon
/usr/local/include/resip/stack/Headers.hxx:120: error: extra semicolon
/usr/local/include/resip/stack/Headers.hxx:122: error: extra semicolon
/usr/local/include/resip/stack/Headers.hxx:123: error: extra semicolon
/usr/local/include/resip/stack/Headers.hxx:124: error: extra semicolon
/usr/local/include/resip/stack/Headers.hxx:126: error: extra semicolon
/usr/local/include/resip/stack/Headers.hxx:128: error: extra semicolon
/usr/local/include/resip/stack/Headers.hxx:132: error: extra semicolon
/usr/local/include/resip/stack/Headers.hxx:133: error: extra semicolon
/usr/local/include/resip/stack/Headers.hxx:134: error: extra semicolon
in my build the macro RESIP_HEAP_COUNT is not defined, so RESIP_HeapCount
will evaluate to nothing:
#define RESIP_HeapCount(type_)
hence the class definition will get a stray ';' semicolon. Is there a good
way to fix this? Either by removing all semicolons following RESIP_HeapCount
in all header files, or defining RESIP_HeapCount to a dummy value?
the application is compiled with "-pedantic" - removing the gives no errors.
/alfred