compiler gives assertion
807575Apr 14 2005 — edited Apr 15 2005you get the error message
" >> Assertion: (../lnk/cb_cafe.cc, line 959)
while processing test.cpp at line 5."
if you compile the following code:
#ifdef __cplusplus
extern "C" {
#endif
extern inline void * test();
#ifdef __cplusplus
}
#endif
#endif
with "CC: Sun C++ 5.6 Patch 117549-02 2005/02/08"
and the following command "CC -xsb test.cpp".
Note that you get the correct error message
""test.cpp", line 10: Error: There is no prior #if corresponding to this #endif."
if you either compile with "CC test.cpp" or use compiler
"CC: Forte Developer 7 C++ 5.4 Patch 111715-14 2004/03/11".
Could someone please file a bug report to the development?