🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Michael Tiemann Tue, 21 Feb 1989 16:56
_main (or other functions) undefined?
#1694
Author: Michael Tiemann
Date: Tue, 21 Feb 1989 16:56
13 lines
1091 bytes
A fwe times people have reported that GNU C++ will compile their
files, and make it to the link stage, only to have _main undefined.  I
now know the cause for this problem: bison is out of date.  At least
one old version of bison would return an error status (silently) when
it encountered a syntax error.  GNU C++ does not check the return
status of yyparse, instead it relies on the parser to detect and
record all relavent errors.  Since the error is not recorded, GNU C++
assumes that evrything is ok, and hence does not return an error
status.  The result is partially compiled programs.

Getting the latest version of bison fixes this problem.

Michael
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads