aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/config/os/hpux/bits/os_defines.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 24d1889..f1f970d 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jan 3 11:05:41 2002 Jeffrey A Law (law@redhat.com)
+
+ * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
+ __strtoull declarations with __extension__.
+
2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
* testsuite/lib/prune.exp: Correct regular expression for
diff --git a/libstdc++-v3/config/os/hpux/bits/os_defines.h b/libstdc++-v3/config/os/hpux/bits/os_defines.h
index a548125..efc5e7a 100644
--- a/libstdc++-v3/config/os/hpux/bits/os_defines.h
+++ b/libstdc++-v3/config/os/hpux/bits/os_defines.h
@@ -60,9 +60,9 @@
We also force _GLIBCPP_USE_LONG_LONG here so that we don't have
to bastardize configure to deal with this sillyness. */
namespace std {
- extern "C" long long strtoll (const char *, char **, int)
+ __extension__ extern "C" long long strtoll (const char *, char **, int)
__asm ("__strtoll");
- extern "C" unsigned long long strtoull (const char *, char **, int)
+ __extension__ extern "C" unsigned long long strtoull (const char *, char **, int)
__asm ("__strtoull");
}
#define _GLIBCPP_USE_LONG_LONG 1