mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 09:20:39 +01:00
Move MSVC-related hack of vsnprintf to MSVC header because it crashed MinGW build
This commit is contained in:
parent
c5c5af741d
commit
76eac2d80d
@ -56,15 +56,7 @@ Where is your mingw installation? ANSWER your mingw directory using slashes (as
|
||||
</ol>
|
||||
</p>
|
||||
|
||||
<h3>3.- PATCHES TO MINGW headers</h3>
|
||||
|
||||
<p>There are an error in the gcc 3.2.3 headers delivered with MINGW.<p>
|
||||
<p>You should edit <mingw installdir>/include/c++/3.2.3/cstdio and comment the following lines<br><br>
|
||||
using ::vsnprintf;<br>
|
||||
using __gnu_cxx::vsnprintf;<br>
|
||||
</p>
|
||||
|
||||
<h3>4.- BUILD PROCESS</h3>
|
||||
<h3>3.- BUILD PROCESS</h3>
|
||||
|
||||
<ol>
|
||||
<li>Start msys with the icon.</li>
|
||||
@ -89,7 +81,7 @@ or<br>
|
||||
warning: unknown conversion type character `I' in format<br>
|
||||
warning: too many arguments for format</p>
|
||||
|
||||
<h3>5.- TROUBLESHOOTING</h3>
|
||||
<h3>4.- TROUBLESHOOTING</h3>
|
||||
|
||||
<p>AUTOGEN<p>
|
||||
<p>The autogen script creates an output file in the same directory where it is executed with the name config.out. If the autogen fails look at config.out first.</p>
|
||||
@ -98,9 +90,5 @@ warning: too many arguments for format</p>
|
||||
autom4te: cannot open configure: Permission denied<br><br>
|
||||
execute in the same directory:<br><br>
|
||||
>chmod -R +uw *</p>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
@ -93,10 +93,6 @@ nested FOR loops are added.
|
||||
#include <ctype.h>
|
||||
#endif
|
||||
|
||||
#if defined(WIN_NT)
|
||||
#define vsnprintf _vsnprintf
|
||||
#endif
|
||||
|
||||
ASSERT_FILENAME
|
||||
#ifdef VMS
|
||||
#include <descrip.h>
|
||||
|
@ -36,10 +36,7 @@
|
||||
#include "../dsql/all.h"
|
||||
#include "../jrd/y_ref.h"
|
||||
|
||||
// BRS 01-10-2003 If DSQL_DEBUG is defined, there are a problem in the MinGW build
|
||||
// when creating the empty.fdb database. The error is a seg_fault calling vsnprintf.
|
||||
// Something to investigate
|
||||
#if defined(DEV_BUILD) && !defined(MINGW)
|
||||
#ifdef DEV_BUILD
|
||||
// This macro enables DSQL tracing code
|
||||
#define DSQL_DEBUG
|
||||
#endif
|
||||
|
@ -137,6 +137,7 @@
|
||||
#undef HAVE_SIGACTION
|
||||
#undef HAVE_SETITIMER
|
||||
#define HAVE_SNPRINTF
|
||||
#define vsnprintf _vsnprintf
|
||||
#define HAVE_VSNPRINTF
|
||||
#define HAVE_SWAB
|
||||
#define HAVE__SWAB
|
||||
|
@ -49,7 +49,7 @@
|
||||
*
|
||||
*/
|
||||
/*
|
||||
$Id: common.h,v 1.83 2003-09-22 17:52:27 brodsom Exp $
|
||||
$Id: common.h,v 1.84 2003-10-02 10:17:39 aafemt Exp $
|
||||
*/
|
||||
|
||||
#ifndef JRD_COMMON_H
|
||||
@ -545,8 +545,6 @@ typedef unsigned int64 UATOM;
|
||||
|
||||
#ifdef WIN_NT
|
||||
|
||||
#define vsnprintf _vsnprintf
|
||||
|
||||
#define NO_NFS
|
||||
|
||||
#define MOVE_FAST(from,to,length) memcpy (to, from, (int) (length))
|
||||
|
@ -32,7 +32,7 @@
|
||||
* Contributor(s):
|
||||
*
|
||||
*
|
||||
* $Id: nbackup.cpp,v 1.8 2003-09-15 10:14:22 skidder Exp $
|
||||
* $Id: nbackup.cpp,v 1.9 2003-10-02 10:17:40 aafemt Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -69,10 +69,6 @@
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
||||
#if defined(WIN_NT)
|
||||
#define vsnprintf _vsnprintf
|
||||
#endif
|
||||
|
||||
#ifndef O_LARGEFILE
|
||||
#define O_LARGEFILE 0
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user