Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 53892 Details for
Bug 85780
strcasestr causes gcc-3.3.5 to throw prototype redefined errors
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libjsw-1.5.5-gcc33.patch
libjsw-1.5.5-gcc33.patch (text/plain), 1.90 KB, created by
SpanKY
on 2005-03-19 14:28:00 UTC
(
hide
)
Description:
libjsw-1.5.5-gcc33.patch
Filename:
MIME Type:
Creator:
SpanKY
Created:
2005-03-19 14:28:00 UTC
Size:
1.90 KB
patch
obsolete
>Work around a bug in gcc-3.3.x, not needed for gcc-3.4.x+ > >http://bugs.gentoo.org/show_bug.cgi?id=85780 > >--- libjsw-1.5.5/include/string.h >+++ libjsw-1.5.5/include/string.h >@@ -43,7 +43,7 @@ > #ifdef __MSW__ > extern int strcasecmp(const char *s1, const char *s2); > #endif >-extern char *strcasestr(const char *haystack, const char *needle); >+extern char *strcasestr(const char *haystack, const char *needle) throw(); > extern int strpfx(const char *s, const char *pfx); > extern int strcasepfx(const char *s, const char *pfx); > >--- libjsw-1.5.5/jscalibrator/string.cpp >+++ libjsw-1.5.5/jscalibrator/string.cpp >@@ -28,7 +28,7 @@ > #ifdef __MSW__ > int strcasecmp(const char *s1, const char *s2); > #endif >-char *strcasestr(const char *haystack, const char *needle); >+char *strcasestr(const char *haystack, const char *needle) throw(); > int strpfx(const char *s, const char *pfx); > int strcasepfx(const char *s, const char *pfx); > >@@ -217,7 +217,7 @@ > * Case insensitive version of strstr(). Returns the pointer to > * needle in haystack if found or NULL on no match. > */ >-char *strcasestr(const char *haystack, const char *needle) >+char *strcasestr(const char *haystack, const char *needle) throw() > { > const char *strptr1, *strptr2, *strptr3; > >--- libjsw-1.5.5/libjsw/string.cpp >+++ libjsw-1.5.5/libjsw/string.cpp >@@ -28,7 +28,7 @@ > #ifdef __MSW__ > int strcasecmp(const char *s1, const char *s2); > #endif >-char *strcasestr(const char *haystack, const char *needle); >+char *strcasestr(const char *haystack, const char *needle) throw(); > int strpfx(const char *s, const char *pfx); > int strcasepfx(const char *s, const char *pfx); > >@@ -217,7 +217,7 @@ > * Case insensitive version of strstr(). Returns the pointer to > * needle in haystack if found or NULL on no match. > */ >-char *strcasestr(const char *haystack, const char *needle) >+char *strcasestr(const char *haystack, const char *needle) throw() > { > const char *strptr1, *strptr2, *strptr3; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 85780
:
53892
|
53988
|
54031
|
55609