To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=65405
Issue #:|65405
Summary:|overloaded functions problem in gtype.h Solaris x86
|and SS10
Component:|porting
Version:|OOo 2.0.2
Platform:|PC
URL:|
OS/Version:|Solaris
Status:|UNCONFIRMED
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|code
Assigned to:|hjs
Reported by:|it46
------- Additional comments from [EMAIL PROTECTED] Mon May 15 10:14:04 -0700
2006 -------
In Solaris x86, Using Sun Studio 10 and building vcl gtk pluging (this is needed
due to the lack en_US locale in the OS in OpenSolaris)
While building gtk/app/gtkdata.cxx and overloading problem takes place. Tracing
the problem all points out to the internal functions defined in
/usr/include/glib-2.0/gobject/gtype.h
By commenting this functions, i compile cleanly
/* --- internal functions ---
void g_value_c_init (void) G_GNUC_INTERNAL; /* sync with gvalue.c */
void g_value_types_init (void) G_GNUC_INTERNAL; /* sync with
gvaluetypes.c */
void g_enum_types_init (void) G_GNUC_INTERNAL; /* sync with genums.c */
void g_param_type_init (void) G_GNUC_INTERNAL; /* sync with gparam.c */
void g_boxed_type_init (void) G_GNUC_INTERNAL; /* sync with gboxed.c */
void g_object_type_init (void) G_GNUC_INTERNAL; /* sync with gobject.c
*/
void g_param_spec_types_init (void) G_GNUC_INTERNAL; /* sync with
gparamspecs.c */
void g_value_transforms_init (void) G_GNUC_INTERNAL; /* sync with
gvaluetransform.c */
void g_signal_init (void) G_GNUC_INTERNAL; /* sync with gsignal.c
*/
*/
---
CC -c -temp=/tmp -I. -I. -I../inc -I../../../inc -I../../../unx/inc
-I../../../unxsoli4.pro/inc -I.
-I/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/stl
-I/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/external
-I/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc
-I/o3/BuildDir/ooo_OOB680_m5_src/solenv/unxsoli4/inc
-I/o3/BuildDir/ooo_OOB680_m5_src/solenv/inc -I/o3/BuildDir/ooo_OOB680_m5_src/res
-I/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/stl -I/include
-I/o3/BuildDir/ooo_OOB680_m5_src/solenv/inc/Xp31
-I/usr/jdk/j2sdk1.4.2_08/include -I/usr/jdk/j2sdk1.4.2_08/include/solaris
-I/usr/jdk/j2sdk1.4.2_08/include/native_threads/include -I. -I../../../res
-I. -xarch=generic -xO3 -xspace -xldscope=hidden -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -features=no%altspell
-library=no%Cstd -g0 -xs -noex -KPIC -DSOLARIS -DUNX -DVCL -DC52 -DC52
-DINTEL -DCVER=C52 -D_USE_NAMESPACE -mt -D_PTHREADS -DSYSV -DSUN -DSUN4
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX
-DCPPU_ENV=sunpro5 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL
-DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA
-DOOB680=OOB680 -DUSE_BUILTIN_RASTERIZER -DVCL_DLLIMPLEMENTATION -DSHAREDLIB
-D_DLL_ -DMULTITHREAD -o ../../../unxsoli4.pro/slo/gtkdata.o
/o3/BuildDir/ooo_OOB680_m5_src/vcl/unx/gtk/app/gtkdata.cxx
"/usr/include/glib-2.0/gobject/gtype.h", line 432: Error: "{" expected instead
of "__attribute__".
"/usr/include/glib-2.0/gobject/gtype.h", line 432: Error: The function
"visibility" must have a prototype.
"/usr/include/glib-2.0/gobject/gtype.h", line 433: Error: Badly formed
expression.
"/usr/include/glib-2.0/gobject/gtype.h", line 434: Error: Badly formed
expression.
"/usr/include/glib-2.0/gobject/gtype.h", line 435: Error: Badly formed
expression.
"/usr/include/glib-2.0/gobject/gtype.h", line 436: Error: Badly formed
expression.
"/usr/include/glib-2.0/gobject/gtype.h", line 437: Error: Badly formed
expression.
"/usr/include/glib-2.0/gobject/gtype.h", line 438: Error: Badly formed
expression.
"/usr/include/glib-2.0/gobject/gtype.h", line 439: Error: Badly formed
expression.
"/usr/include/glib-2.0/gobject/gtype.h", line 440: Error: Badly formed
expression.
"/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/tools/solar.h", line
270: Error: Template declarations cannot have extern "C" linkage.
"/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/tools/solar.h", line
271: Error: Template declarations cannot have extern "C" linkage.
"/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/tools/solar.h", line
272: Error: Template declarations cannot have extern "C" linkage.
"/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/rtl/string.hxx",
line 414: Error: rtl::operator==(const rtl::OString&, const rtl::OString&) must
be declared with language "C++".
"/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/rtl/string.hxx",
line 416: Error: rtl::operator==(const rtl::OString&, const char*) must be
declared with language "C++".
"/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/rtl/string.hxx",
line 416: Error: Only one of a set of overloaded functions can be extern "C".
"/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/rtl/string.hxx",
line 418: Error: rtl::operator==(const char*, const rtl::OString&) must be
declared with language "C++".
"/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/rtl/string.hxx",
line 418: Error: Only one of a set of overloaded functions can be extern "C".
"/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/rtl/string.hxx",
line 418: Error: Only one of a set of overloaded functions can be extern "C".
"/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/rtl/string.hxx",
line 421: Error: rtl::operator!=(const rtl::OString&, const rtl::OString&) must
be declared with language "C++".
"/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/rtl/string.hxx",
line 423: Error: rtl::operator!=(const rtl::OString&, const char*) must be
declared with language "C++".
"/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/rtl/string.hxx",
line 423: Error: Only one of a set of overloaded functions can be extern "C".
"/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/rtl/string.hxx",
line 425: Error: rtl::operator!=(const char*, const rtl::OString&) must be
declared with language "C++".
"/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/rtl/string.hxx",
line 425: Error: Only one of a set of overloaded functions can be extern "C".
"/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/rtl/string.hxx",
line 425: Error: Only one of a set of overloaded functions can be extern "C".
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]