pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/33976: graphics/librsvg2 fails to build with SunStudio 11 compilers on Solaris 10
>Number: 33976
>Category: pkg
>Synopsis: graphics/librsvg2 fails to build with SunStudio 11 compilers
>on Solaris 10
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 11 14:25:00 +0000 2006
>Originator: raymond
>Release:
>Organization:
>Environment:
SunOS e450 5.10 Generic_118833-17 sun4u sparc SUNW,Ultra-4
>Description:
"rsvg-image.c", line 208: undefined symbol: __PRETTY_FUNCTION__
"rsvg-image.c", line 208: warning: improper pointer/integer combination: arg #1
"rsvg-image.c", line 264: undefined symbol: __PRETTY_FUNCTION__
"rsvg-image.c", line 264: warning: improper pointer/integer combination: arg #1
"rsvg-image.c", line 318: undefined symbol: __PRETTY_FUNCTION__
"rsvg-image.c", line 318: warning: improper pointer/integer combination: arg #1
"rsvg-image.c", line 319: undefined symbol: __PRETTY_FUNCTION__
"rsvg-image.c", line 319: warning: improper pointer/integer combination: arg #1
"rsvg-image.c", line 448: warning: integer overflow detected: op "<<"
"rsvg-image.c", line 453: warning: integer overflow detected: op "<<"
"rsvg-image.c", line 523: warning: integer overflow detected: op "<<"
cc: acomp failed for rsvg-image.c
*** Error code 1
Stop.
bmake: stopped in /opt/pkg.obj/graphics/librsvg2/work.e450/librsvg-2.14.4
*** Error code 1
Stop.
bmake: stopped in /opt/pkg.obj/graphics/librsvg2/work.e450/librsvg-2.14.4
*** Error code 1
Stop.
bmake: stopped in /opt/pkg.obj/graphics/librsvg2/work.e450/librsvg-2.14.4
*** Error code 1
Stop.
bmake: stopped in /opt/pkgsrc/graphics/librsvg2
*** Error code 1
>How-To-Repeat:
>Fix:
I think __PRETTY_FUNCTION__ is GCC-ism and serves the same purpose as __func__
in C99 standard.
--- rsvg-private.h.orig Tue Jul 11 15:11:07 2006
+++ rsvg-private.h Tue Jul 11 15:12:38 2006
@@ -349,7 +349,7 @@
#define rsvg_return_if_fail(expr, error) G_STMT_START{
\
if G_LIKELY(expr) { } else \
{ \
- rsvg_return_if_fail_warning (__PRETTY_FUNCTION__,
\
+ rsvg_return_if_fail_warning (__func__, \
#expr, error);
\
return; \
}; }G_STMT_END
@@ -357,7 +357,7 @@
#define rsvg_return_val_if_fail(expr,val,error) G_STMT_START{
\
if G_LIKELY(expr) { } else
\
{ \
- rsvg_return_if_fail_warning (__PRETTY_FUNCTION__,
\
+ rsvg_return_if_fail_warning (__func__, \
#expr, error);
\
return (val); \
}; }G_STMT_END
Home |
Main Index |
Thread Index |
Old Index