> In file included from
> /opt/install/maxdb/7.5.0/V75_00_08/MaxDB_ORG/sys/w\
> rk/incl/SAPDB/RunTime/RTE_Coroutine.h:86,
> from RTE_Coroutine.cpp:34:
> /opt/install/maxdb/7.5.0/V75_00_08/MaxDB_ORG/sys/wrk/incl/SAPD
> B/RunTime\
> /RTE_SystemLinux.h:44: error: storage
> class specified for field `sp'
You can also use the following patch:
--- maxdb-7.5.00-7.5.00.08.orig/MaxDB_ORG/sys/src/SAPDB/RunTime/RTE_SystemLinux.h
+++ maxdb-7.5.00-7.5.00.08/MaxDB_ORG/sys/src/SAPDB/RunTime/RTE_SystemLinux.h
@@ -32,19 +32,19 @@
#ifndef RTE_SYSTEMLINUX_H
#define RTE_SYSTEMLINUX_H
-#if defined(__cplusplus)
-extern "C"
-#endif
-
/*!
Own coroutine context used only if a assembly coroutine switch code exists
*/
struct RTE_OwnCoroutineContext
{
- void *sp ; /*!< Saved stack entry point during switch or pointer to begin
of stack area */
+ void *sp ; /*!< Saved stack entry point during switch or pointer to begin
of stack area */
void (*addr)() ; /*!< Initial entry address */
};
+#if defined(__cplusplus)
+extern "C"
+#endif
+
/*!
@brief Implementation of own context setup interface
I seems as if gcc 3.3 handles some declarations differently when inside a extern "C"
group.
Daniel Dittmar
--
Daniel Dittmar
SAP Labs Berlin
[EMAIL PROTECTED]
--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]