summaryrefslogtreecommitdiff
path: root/cppu/inc/uno/lbnames.h
diff options
context:
space:
mode:
authorDaniel Boelzle <dbo@openoffice.org>2001-10-26 07:14:51 +0000
committerDaniel Boelzle <dbo@openoffice.org>2001-10-26 07:14:51 +0000
commit5dd67fafc9320d678d6eb0f598840aee7ab81dae (patch)
treed981dfc66f20567b1c4edbbfb46339e581cd3b2f /cppu/inc/uno/lbnames.h
parent0ba3ffdd6e7bca89e8450205c6af0d5e2ab13603 (diff)
#93739# provoking error for PP (sunpro)
Diffstat (limited to 'cppu/inc/uno/lbnames.h')
-rw-r--r--cppu/inc/uno/lbnames.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/cppu/inc/uno/lbnames.h b/cppu/inc/uno/lbnames.h
index eae8a73491ea..5d503fdf4efa 100644
--- a/cppu/inc/uno/lbnames.h
+++ b/cppu/inc/uno/lbnames.h
@@ -2,9 +2,9 @@
*
* $RCSfile: lbnames.h,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: dbo $ $Date: 2001-10-26 07:43:46 $
+ * last change: $Author: dbo $ $Date: 2001-10-26 08:14:51 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -79,10 +79,12 @@
#elif defined (__SUNPRO_CC)
#if (__SUNPRO_CC < 0x500)
#error "sunpro cc must be at least 5.x"
+provoking error here, because sunpro PP ignores #error
#elif (__SUNPRO_CC < 0x600)
#define __CPPU_ENV sunpro5
#else
#error "sunpro cc version must be 5.x"
+provoking error here, because sunpro PP ignores #error
#endif /* defined (__SUNPRO_CC) */
/* g++ 2.x, 3.0 */
#elif defined (__GNUC__)
@@ -109,6 +111,7 @@
/* test: whether given CPPU_ENV matches expected one */
#if (CPPU_ENV != __CPPU_ENV)
#error "CPPU_ENV: unexpected env!"
+provoking error here, because sunpro PP ignores #error
#endif
#define CPPU_STRINGIFY_EX( x ) #x
@@ -118,6 +121,7 @@
#else
#error "No supported C++ compiler environment."
+provoking error here, because sunpro PP ignores #error
#endif /* CPPU_ENV */
#endif /** __cplusplus */