SOURCES: samba-c++-nofail.patch (NEW) - don't fail on new and priv...

arekm arekm at pld-linux.org
Sun Aug 21 21:04:54 CEST 2005


Author: arekm                        Date: Sun Aug 21 19:04:54 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't fail on new and private c++ keywords

---- Files affected:
SOURCES:
   samba-c++-nofail.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/samba-c++-nofail.patch
diff -u /dev/null SOURCES/samba-c++-nofail.patch:1.1
--- /dev/null	Sun Aug 21 21:04:54 2005
+++ SOURCES/samba-c++-nofail.patch	Sun Aug 21 21:04:49 2005
@@ -0,0 +1,18 @@
+diff -urN samba-3.0.20.org/source/include/includes.h samba-3.0.20/source/include/includes.h
+--- samba-3.0.20.org/source/include/includes.h	2005-07-28 15:19:49.000000000 +0200
++++ samba-3.0.20/source/include/includes.h	2005-08-21 20:54:03.904616136 +0200
+@@ -27,12 +27,12 @@
+ 
+ #ifndef __cplusplus
+ #define class #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
+-#define private #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
++/* #define private #error DONT_USE_CPLUSPLUS_RESERVED_NAMES */
+ #define public #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
+ #define protected #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
+ #define template #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
+ #define this #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
+-#define new #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
++/* #define new #error DONT_USE_CPLUSPLUS_RESERVED_NAMES */
+ #define delete #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
+ #define friend #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
+ #endif
================================================================



More information about the pld-cvs-commit mailing list