delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-workers-bounces using -f |
From: | Martin Str|mberg <ams AT ludd DOT luth DOT se> |
Message-Id: | <200112271404.PAA16127@father.ludd.luth.se> |
Subject: | Re: gcc 3.03 and libc sources |
In-Reply-To: | <Pine.SUN.3.91.1011227103831.19068B-100000@is> from Eli Zaretskii at "Dec 27, 2001 10:39:12 am" |
To: | djgpp-workers AT delorie DOT com |
Date: | Thu, 27 Dec 2001 15:04:14 +0100 (MET) |
X-Mailer: | ELM [version 2.4ME+ PL54 (25)] |
MIME-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
According to Eli Zaretskii: > > On Thu, 27 Dec 2001, Martin Str|mberg wrote: > > > I tried to add "--std=c89" to gcc.opt and got an immense amount of > > warnings from trying to make dosexec.o > > Could you post those warnings? I don't know why we should get warnings > for the old standard. Ok. Here they are: gcc ... -c dosexec.c dosexec.c: In function `check_talloc': dosexec.c:140: `E2BIG' undeclared (first use in this function) dosexec.c:140: (Each undeclared identifier is reported only once dosexec.c:140: for each function it appears in.) dosexec.c: In function `direct_exec_tail_1': dosexec.c:164: `__dpmi_regs' undeclared (first use in this function) dosexec.c:164: parse error before "r" cc1.exe: warnings being treated as errors dosexec.c:188: warning: implicit declaration of function `fsync' dosexec.c:191: `_USE_LFN' undeclared (first use in this function) dosexec.c:199: warning: implicit declaration of function `_put_path2' dosexec.c:199: `__tb' undeclared (first use in this function) dosexec.c:201: `r' undeclared (first use in this function) dosexec.c:205: warning: implicit declaration of function `__dpmi_int' dosexec.c:208: warning: implicit declaration of function `__doserr_to_errno' dosexec.c:212: warning: implicit declaration of function `dosmemget' dosexec.c:222: warning: implicit declaration of function `dosmemput' dosexec.c:264: warning: implicit declaration of function `_farsetsel' dosexec.c:264: `_dos_ds' undeclared (first use in this function) dosexec.c:265: warning: implicit declaration of function `_farnspeekb' dosexec.c:389: warning: implicit declaration of function `__maybe_fix_w2k_ntvdm_bug' dosexec.c:410: `EINTR' undeclared (first use in this function) dosexec.c: In function `direct_exec_tail': dosexec.c:440: warning: implicit declaration of function `__dpmi_get_capabilities' dosexec.c:457: warning: implicit declaration of function `__dpmi_allocate_ldt_descriptors' dosexec.c:458: warning: implicit declaration of function `__dpmi_get_descriptor_access_rights' dosexec.c:459: warning: implicit declaration of function `__dpmi_get_descriptor' dosexec.c:460: warning: implicit declaration of function `__dpmi_free_ldt_descriptor' dosexec.c:492: `_dos_ds' undeclared (first use in this function) dosexec.c: At top level: dosexec.c:559: warning: no previous prototype for `_dos_exec' dosexec.c: In function `_dos_exec': dosexec.c:560: `__tb' undeclared (first use in this function) dosexec.c:561: `_go32_info_block' undeclared (first use in this function) dosexec.c: At top level: dosexec.c:600: warning: no previous prototype for `_shell_cmdline_limit' dosexec.c: In function `_shell_cmdline_limit': dosexec.c:613: warning: implicit declaration of function `stricmp' dosexec.c:617: `_osmajor' undeclared (first use in this function) dosexec.c:632: `_os_flavor' undeclared (first use in this function) dosexec.c: At top level: dosexec.c:664: warning: no previous prototype for `_is_unixy_shell' dosexec.c:670: warning: no previous prototype for `_is_dos_shell' dosexec.c: In function `direct_exec': dosexec.c:759: `E2BIG' undeclared (first use in this function) dosexec.c:761: `__tb' undeclared (first use in this function) dosexec.c:762: `_go32_info_block' undeclared (first use in this function) dosexec.c: In function `direct_pe_exec': dosexec.c:805: warning: implicit declaration of function `alloca' dosexec.c:805: warning: cast does not match function type dosexec.c:875: `E2BIG' undeclared (first use in this function) dosexec.c:877: `__tb' undeclared (first use in this function) dosexec.c:878: `_go32_info_block' undeclared (first use in this function) dosexec.c: In function `go32_exec': dosexec.c:890: syntax error before '*' token dosexec.c:903: warning: implicit declaration of function `__solve_symlinks' dosexec.c:906: `type' undeclared (first use in this function) dosexec.c:906: warning: implicit declaration of function `_check_v2_prog' dosexec.c:916: `_V2_EXEC_FORMAT_UNIXSCRIPT' undeclared (first use in this function) dosexec.c:922: `_V2_OBJECT_FORMAT_COFF' undeclared (first use in this function) dosexec.c:927: `_V2_EXEC_FORMAT_EXE' undeclared (first use in this function) dosexec.c:929: `_V2_OBJECT_FORMAT_PE_COFF' undeclared (first use in this function) dosexec.c:935: warning: implicit declaration of function `__dosexec_command_exec' dosexec.c:940: `_V2_EXEC_FORMAT_STUBCOFF' undeclared (first use in this function) dosexec.c:952: warning: implicit declaration of function `__dosexec_find_on_path' dosexec.c:974: warning: implicit declaration of function `unconst' dosexec.c:974: parse error before "char" dosexec.c:998: `_USE_LFN' undeclared (first use in this function) dosexec.c:1003: `__tb' undeclared (first use in this function) dosexec.c:1004: `_go32_info_block' undeclared (first use in this function) dosexec.c:1041: warning: implicit declaration of function `_farpokew' dosexec.c:1041: `_dos_ds' undeclared (first use in this function) dosexec.c:1055: warning: cast does not match function type dosexec.c: At top level: dosexec.c:1081: warning: no previous prototype for `__dosexec_command_exec' dosexec.c: In function `__dosexec_command_exec': dosexec.c:1098: warning: cast does not match function type dosexec.c:1187: `E2BIG' undeclared (first use in this function) dosexec.c:1195: warning: cast does not match function type dosexec.c:1221: `__tb' undeclared (first use in this function) dosexec.c:1222: `_go32_info_block' undeclared (first use in this function) dosexec.c: In function `script_exec': dosexec.c:1243: `ENOENT' undeclared (first use in this function) dosexec.c:1268: warning: cast does not match function type dosexec.c:1270: parse error before "char" dosexec.c:1274: parse error before "char" dosexec.c:1298: `spawnvpe' undeclared (first use in this function) dosexec.c:1303: `spawnve' undeclared (first use in this function) dosexec.c:1319: `P_WAIT' undeclared (first use in this function) dosexec.c:1237: warning: `spawnfunc' might be used uninitialized in this function dosexec.c: At top level: dosexec.c:1356: warning: no previous prototype for `__dosexec_find_on_path' dosexec.c:1356: warning: type mismatch with previous implicit declaration dosexec.c:1300: warning: previous implicit declaration of `__dosexec_find_on_path' dosexec.c:1356: warning: `__dosexec_find_on_path' was previously implicitly declared to return `int' dosexec.c: In function `__dosexec_find_on_path': dosexec.c:1365: `ENAMETOOLONG' undeclared (first use in this function) dosexec.c:1383: warning: implicit declaration of function `_use_lfn' dosexec.c:1389: warning: implicit declaration of function `access' dosexec.c:1389: `D_OK' undeclared (first use in this function) dosexec.c: In function `find_interpreter': dosexec.c:1470: `F_OK' undeclared (first use in this function) dosexec.c:1470: `D_OK' undeclared (first use in this function) dosexec.c:1473: `EISDIR' undeclared (first use in this function) dosexec.c:1473: `ENOENT' undeclared (first use in this function) dosexec.c: In function `find_extension': dosexec.c:1488: `F_OK' undeclared (first use in this function) dosexec.c:1488: `D_OK' undeclared (first use in this function) dosexec.c:1493: `EISDIR' undeclared (first use in this function) dosexec.c:1493: `ENOENT' undeclared (first use in this function) dosexec.c: At top level: dosexec.c:1500: warning: no previous prototype for `__spawnve' dosexec.c: In function `__spawnve': dosexec.c:1501: warning: implicit declaration of function `__djgpp_spawn' dosexec.c:1501: `SPAWN_EXTENSION_SRCH' undeclared (first use in this function) dosexec.c: At top level: dosexec.c:1506: warning: no previous prototype for `__djgpp_spawn' dosexec.c: In function `__djgpp_spawn': dosexec.c:1519: `EINVAL' undeclared (first use in this function) dosexec.c:1522: `P_NOWAIT' undeclared (first use in this function) dosexec.c:1524: `ENOSYS' undeclared (first use in this function) dosexec.c:1529: `ENAMETOOLONG' undeclared (first use in this function) dosexec.c:1541: `SPAWN_EXTENSION_SRCH' undeclared (first use in this function) dosexec.c:1593: `P_OVERLAY' undeclared (first use in this function) make.exe: *** [dosexec.o] Error 1 Right, MartinS
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |