[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Two apparent errors in gnu make 3.80 w/MSVC 7.1

From: West_Larry
Subject: Two apparent errors in gnu make 3.80 w/MSVC 7.1
Date: Thu, 10 Jul 2003 14:47:40 -0400

Building with MS VC++ 7.1 (i.e., Visual Studio .NET 2003) on Windows 2k SP4.
Two problems:

(1) c:\src\gnu\make-3.80\dir.c(258) : warning C4700: local variable 'hash'
used without having been initialized

and again on line 281.   These are the macros ISTRING_HASH_[12], and it
appears to me that, assuming the macros needn't initialize RESULT, then the
functions directory_contents_hash_[12] should do so, since the variables in
question are automatic and hence uninitialized.  This bug only applies
#ifdef WINDOWS32, the other conditions set "hash" without relying on its
initial value.

(2) NMakefile line 81

Doing "NMake /f NMakefile" ends with link reporting several missing symbols,
all of which are in hash.c; inserting the following at line 81:

        $(OUTDIR)/hash.obj \

makes the build succeed.  Though I haven't gone further than checking "make
--version" and "make --help".


Needless to say, thanks for your time.

// Larry West
// EMC San Diego S/W Lab
// +1-858-677-0362 x115
// mailto:address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]