$RBGB/bdemakebug080331.txt graphobject.cc :1366 assert stmt fails to compile: ------------------------------------------------ saturn.cs.uml.edu(89)> cxx -D__FUNCTION__ -DUSECPLUSPLUS -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_nolog -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/graphobject.cc -c -o ../pr_util_nolog/i386-linux/obj/graphobject.o cxx: Warning: ../src/graphobject.cc, line 1293: loop is not reachable from preceding code LP;}// end new vers of select_HN (graphobject.cc: 1223-1281) ^ cxx: Warning: ../src/graphobject.cc, line 1293: missing return statement at end of non-void function "Ggroup::select_HN" LP;}// end new vers of select_HN (graphobject.cc: 1223-1281) ---^ cxx: Error: ../src/graphobject.cc, line 1366: left operand of the "->" operator must be a pointer to a class assert(localid == (hcg_key)(cs->getcurr()->CGid)); --------^ cxx: Info: 1 error detected in the compilation of "../src/graphobject.cc". ======================== Mercury c++ only says: --------------------- [mercury1](56)> g++ -DUSECPLUSPLUS -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_nolog -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/graphobject.cc -c -o ../pr_util_nolog/i386-linux/obj/graphobject.o ../src/graphobject.cc: In member function `graphobject* Ggroup::select_CG(_WidgetRec*, int, int)': ../src/graphobject.cc:1366: error: `void*' is not a pointer-to-object type ==================== In the end, I gave up , since it is a class method. and removed the assert.