Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!ccncsu!purdue!news.cs.indiana.edu!samsung!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!tcdcs!wsl!jja From: jja@wsl.ie (John Allen on wsl) Newsgroups: comp.os.msdos.apps Subject: Re: Turbo C++ Error Message-ID: <756@wsl.ie> Date: 17 Apr 91 19:00:40 GMT References: <1991Apr8.184441.23026@mccc.edu> <1991Apr8.204147.23880@mccc.edu> Reply-To: jja@wsl.ie (John Allen on wsl) Organization: Workhorse Systems Limited, Dublin Lines: 17 In article <1991Apr8.204147.23880@mccc.edu> pjh@mccc.edu (Pete Holsberg) writes: >In article <1991Apr8.184441.23026@mccc.edu> pjh@mccc.edu (Peter J. Holsberg) writes: >=On page 165 of the TC++ library reference, there is a small expample >=that uses FP_SEG. When I compile it, I get >= undefined symbol _FP_SEG in module p165.c Make sure you are including dos.h which is where the FP_SEG() macro is defined. I really can't unserstand why TC++ lets U use the FP_SEG() as a function when it does not have a prototype. Did you happen to call the file .C and also have warnings about prototypes turned off. Name your files .CPP and get all the extra checking of a C++ compiler. -- People that don't know want to know from the people that do know and if the poeple that do know don't tell the people that don't know then the people that don't know still won't know. "Don't quote me on any issue whatsoever."