[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Two apparent errors in gnu make 3.80 w/MSVC 7.1
From: |
Paul D. Smith |
Subject: |
Re: Two apparent errors in gnu make 3.80 w/MSVC 7.1 |
Date: |
Fri, 11 Jul 2003 12:58:32 -0400 |
%% address@hidden writes:
wl> (1) c:\src\gnu\make-3.80\dir.c(258) : warning C4700: local variable
'hash' used without having been initialized
wl> and again on line 281. These are the macros ISTRING_HASH_[12],
wl> and it appears to me that, assuming the macros needn't initialize
wl> RESULT, then the functions directory_contents_hash_[12] should do
wl> so, since the variables in question are automatic and hence
wl> uninitialized. This bug only applies
wl> #ifdef WINDOWS32, the other conditions set "hash" without relying on its
wl> initial value.
OK, I fixed this in the source. Thanks.
wl> ----------
wl> (2) NMakefile line 81
wl> Doing "NMake /f NMakefile" ends with link reporting several
wl> missing symbols, all of which are in hash.c; inserting the
wl> following at line 81:
wl> $(OUTDIR)/hash.obj \
wl> makes the build succeed. Though I haven't gone further than
wl> checking "make --version" and "make --help".
This has been reported before (see the closed bugs for GNU make on the
Savannah web site) and the fix is in the source already.
Thanks!
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist