delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
From: | Jens DOT Toerring AT physik DOT fu-berlin DOT de |
Newsgroups: | comp.os.linux.development.apps,comp.os.msdos.djgpp |
Subject: | Re: undeclared identifiers: one *c prog not recognising a shared *.h file |
Date: | 11 May 2002 21:07:24 GMT |
Organization: | Freie Universitaet Berlin |
Lines: | 42 |
Sender: | <jens AT crowley DOT physik DOT fu-berlin DOT de> |
Message-ID: | <abk16c$j26dv$1@fu-berlin.de> |
References: | <3cdd7e32 DOT 103647057 AT news DOT adelaide DOT on DOT net> |
NNTP-Posting-Host: | crowley.physik.fu-berlin.de (160.45.33.110) |
X-Trace: | fu-berlin.de 1021151244 19995071 160.45.33.110 (16 17 19) |
X-Orig-Path: | not-for-mail |
User-Agent: | tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.15 (i686)) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
In comp.os.linux.development.apps David. E. Goble <degoble AT gtech> wrote: <snipped> > gcc -c uilibs.c > uilibs.c: In function `do_menubar': > uilibs.c:77: `RETURN' undeclared (first use in this function) > uilibs.c:77: (Each undeclared identifier is reported only once > uilibs.c:77: for each function it appears in.) > uilibs.c:110: `LEFT_ARROW' undeclared (first use in this function) > uilibs.c:117: `RIGHT_ARROW' undeclared (first use in this function) > uilibs.c:129: `ESCAPE' undeclared (first use in this function) > uilibs.c:111: warning: unreachable code at beginning of switch > statement > uilibs.c: In function `do_pulldown': > uilibs.c:252: `RETURN' undeclared (first use in this function) > uilibs.c:292: `UP_ARROW' undeclared (first use in this function) > uilibs.c:301: `DOWN_ARROW' undeclared (first use in this function) > uilibs.c:294: warning: unreachable code at beginning of switch > statement The macros definitions are all preceeded by one of the following: #ifdef HPUX or #ifdef SUN or #ifdef VMS or #ifdef BCC Since you post to comp.os.linux.development.apps I guess you want to compile it under Linux, so you will have to supply also macros for Linux... Regards, Jens -- _ _____ _____ | ||_ _||_ _| Jens DOT Toerring AT physik DOT fu-berlin DOT de _ | | | | | | AG Moebius, Institut fuer Molekuelphysik | |_| | | | | | Fachbereich Physik, Freie Universitaet Berlin \___/ens|_|homs|_|oerring Tel: ++49 (0)30 838 - 53394 / FAX: - 56046
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |