aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2002-01-03 11:03:15 -0700
committerJeff Law <law@gcc.gnu.org>2002-01-03 11:03:15 -0700
commit0487b51cbc6118fa1e7de352e4ef524492a9d732 (patch)
tree317210c4ecb637f547dc9d3cedcac00c7597bdd7
parent70f4f91ca9db1b77afee82c9f91ee726160fee1d (diff)
downloadgcc-0487b51cbc6118fa1e7de352e4ef524492a9d732.zip
gcc-0487b51cbc6118fa1e7de352e4ef524492a9d732.tar.gz
gcc-0487b51cbc6118fa1e7de352e4ef524492a9d732.tar.bz2
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
-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