More hpux compile bugs

Neal Becker neal at ctd.comsat.com
Tue Aug 12 10:57:21 PDT 1997


gcc -g -O  -I. -I. -I./../../config -I../../config -I../../include -I./../../include -DINTERPRETER -I./intrp   -DKVER=\"0.91\" -c -fpic external.c
external.c: In function `native':
external.c:233: break statement not within loop or switch
make[2]: *** [external.o] Error 1

This is traced to slib.h:
#define	LIBRARYFUNCTION(FUNC, SYM)					\
	{								\
		shl_t all_libs = 0;					\
		if (shl_findsym(&all_libs,SYM,TYPE_PROCEDURE,&FUNC) == 0) { \
			break;						\
		}							\
	}

Why is there a break?





More information about the kaffe mailing list