[PD-cvs] pd/src m_pd.h,1.1.1.4.2.10.2.2,1.1.1.4.2.10.2.3
carmen rocco
ix9 at users.sourceforge.net
Mon Apr 12 06:46:48 CEST 2004
- Previous message: [PD-cvs] pd/src m_sched.c,1.1.1.2.2.7.2.2,1.1.1.2.2.7.2.3
- Next message: [PD-cvs] externals/build/src ifeel.c,1.1,1.2 linuxevent.c,1.3,1.4 linuxjoystick.c,1.3,1.4 linuxmouse.c,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3428
Modified Files:
Tag: impd_0_37
m_pd.h
Log Message:
msw "warning-disabling" defines were the source of warnings...
Index: m_pd.h
===================================================================
RCS file: /cvsroot/pure-data/pd/src/m_pd.h,v
retrieving revision 1.1.1.4.2.10.2.2
retrieving revision 1.1.1.4.2.10.2.3
diff -C2 -d -r1.1.1.4.2.10.2.2 -r1.1.1.4.2.10.2.3
*** m_pd.h 30 Mar 2004 01:35:09 -0000 1.1.1.4.2.10.2.2
--- m_pd.h 12 Apr 2004 04:46:45 -0000 1.1.1.4.2.10.2.3
***************
*** 15,51 ****
#define PD_DEVEL_VERSION 1 /* T.Grill - mark for devel branch */
-
- /* old name for "MSW" flag -- we have to take it for the sake of many old
- "nmakefiles" for externs, which will define NT and not MSW */
- #if defined(NT) && !defined(MSW)
- #define MSW
- #endif
-
- #ifdef MSW
- /* #pragma warning( disable : 4091 ) */
- #pragma warning( disable : 4305 ) /* uncast const double to float */
- #pragma warning( disable : 4244 ) /* uncast float/int conversion etc. */
- #pragma warning( disable : 4101 ) /* unused automatic variables */
- #endif /* MSW */
-
- /* the external storage class is "extern" in UNIX; in MSW it's ugly. */
- #ifdef MSW
- #ifdef PD_INTERNAL
- #define EXTERN __declspec(dllexport) extern
- #else
- #define EXTERN __declspec(dllimport) extern
- #endif /* PD_INTERNAL */
- #else
#define EXTERN extern
- #endif /* MSW */
-
- /* and depending on the compiler, hidden data structures are
- declared differently: */
- #if defined( __GNUC__) || defined( __BORLANDC__ ) || defined( __MWERKS__ )
#define EXTERN_STRUCT struct
- #else
- #define EXTERN_STRUCT extern struct
- #endif
-
#if !defined(_SIZE_T) && !defined(_SIZE_T_)
--- 15,20 ----
- Previous message: [PD-cvs] pd/src m_sched.c,1.1.1.2.2.7.2.2,1.1.1.2.2.7.2.3
- Next message: [PD-cvs] externals/build/src ifeel.c,1.1,1.2 linuxevent.c,1.3,1.4 linuxjoystick.c,1.3,1.4 linuxmouse.c,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list