Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

compiler gives assertion

807575Apr 14 2005 — edited Apr 15 2005
you 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?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 13 2005
Added on Apr 14 2005
4 comments
114 views