From 0487b51cbc6118fa1e7de352e4ef524492a9d732 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 3 Jan 2002 11:03:15 -0700 Subject: [PATCH] os_defines.h: Prefix __strtoll and __strtoull declarations with __extension__. * config/os/hpux/bits/os_defines.h: Prefix __strtoll and __strtoull declarations with __extension__. From-SVN: r48516 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/config/os/hpux/bits/os_defines.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 24d1889a39b..f1f970d4740 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 * 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 a548125a7e6..efc5e7abf4d 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