bug-make
[Top][All Lists]
Advanced

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

[bug #40227] Various fixes for MSVC build of 4.0


From: Christian Boos
Subject: [bug #40227] Various fixes for MSVC build of 4.0
Date: Mon, 14 Oct 2013 19:37:52 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.16 Safari/537.36

Follow-up Comment #6, bug #40227 (project make):

I found the _vsnprintf_s declaration in my MinGW installation:

.../mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h

And this gets included from <stdio.h>.
I suppose this must be a relatively recent addition,
as I installed that version today (major.minor is 3.11).

I added a version check to the patch, the numbers can be 
refined to pinpoint the introduction of _vsnprintf_s, if
the approach is found to be valid and no better fix is
found.

Back to the issue itself. Here are a few quick ways to 
reproduce it reliably.

First without a Makefile:


$ ./gnumake64 -f no-Makefile
gnumake64:
gnumake64: ***.  Stop.

$ ./gnumake32 -f no-Makefile
gnumake32: no-Makefile: No such file or directory
gnumake32: *** No rule to make target 'no-Makefile'.  Stop.


or with a minimal Makefile, which I inline here using --eval,
but the effect is the same with a Makefile containing that
single line:


$ ./gnumake64.exe --eval "FORCE:;" FORCE
gnumake64:

$ ./gnumake32.exe --eval "FORCE:;" FORCE
gnumake32: 'FORCE' is up to date.


Updated patch: 0004b-MinGW-also-needs-the-msc_vsnprintf-replacement-for-.patch

(file #29376)
    _______________________________________________________

Additional Item Attachment:

File name: 0004b-MinGW-also-needs-the-msc_vsnprintf-replacement-for-.patch
Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40227>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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