compiler error in `find_function_data'; Linux i386; gcc 2.95.2; (2)

Andres VHNet Staff aas@vh.net
Wed Dec 8 12:42:00 GMT 1999


I've narrowed down the cause of the error:
MAX_NUM_BOOKS (in booklist_t.h) must be defined; declaring it extern
makes g++ give an internal compiler error.  

When I change the code to the following, it compiles fine:
//extern const int MAX_NUM_BOOKS;
const int MAX_NUM_BOOKS = 100;


-Andres Salomon <aas@vh.net>




More information about the Gcc-bugs mailing list