[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MSVC compiler support [patch 41]: "== void" preprocessor directive
From: |
Michael Goffioul |
Subject: |
MSVC compiler support [patch 41]: "== void" preprocessor directive |
Date: |
Tue, 17 Oct 2006 22:15:02 +0200 |
User-agent: |
Thunderbird 1.5.0.7 (Windows/20060909) |
MSVC preprocessor does not support comparison with "void" (non integer
constant)
Index: src/sighandlers.cc
===================================================================
RCS file: /cvs/octave/src/sighandlers.cc,v
retrieving revision 1.95
diff -p -c -r1.95 sighandlers.cc
*** src/sighandlers.cc 28 Jun 2006 16:05:24 -0000 1.95
--- src/sighandlers.cc 17 Oct 2006 11:07:42 -0000
*************** static bool Vsighup_dumps_octave_core =
*** 72,82 ****
--- 72,86 ----
// Similar to Vsighup_dumps_octave_core, but for SIGTERM signal.
static bool Vsigterm_dumps_octave_core = true;
+ #ifndef _MSC_VER
#if RETSIGTYPE == void
#define SIGHANDLER_RETURN(status) return
#else
#define SIGHANDLER_RETURN(status) return status
#endif
+ #else
+ #define SIGHANDLER_RETURN(status) return
+ #endif
#if defined (MUST_REINSTALL_SIGHANDLERS)
#define MAYBE_REINSTALL_SIGHANDLER(sig, handler) \
- Re: MSVC compiler support [patch 37]: popen/pclose, (continued)
- MSVC compiler support [patch 39]: include <direct.h>, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 39]: include <direct.h>, John W. Eaton, 2006/10/17
- Re: MSVC compiler support [patch 39]: include <direct.h>, Michael Goffioul, 2006/10/18
- Re: MSVC compiler support [patch 39]: include <direct.h>, John W. Eaton, 2006/10/20
- Message not available
- Message not available
- Re: MSVC compiler support [patch 39]: include <direct.h>, Michael Goffioul, 2006/10/21
- MSVC compiler support [patch 40]: win32lib, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 40]: win32lib, John W. Eaton, 2006/10/26
- MSVC compiler support [patch 41]: "== void" preprocessor directive,
Michael Goffioul <=
- MSVC compiler support [patch 41]: "== void" preprocessor directive, John W. Eaton, 2006/10/25
RE: Re: Compiling octave with MSVC, michael . goffioul, 2006/10/23
RE: Re: Compiling octave with MSVC, michael . goffioul, 2006/10/24