summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-03 18:03:15 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-03 18:03:15 +0000
commit080de91925f03d90c67b11d38e0e2f0e9d7d6b80 (patch)
tree317210c4ecb637f547dc9d3cedcac00c7597bdd7
parent7811c823909c58997876bcf82828b9972f3aa75c (diff)
downloadppe42-gcc-080de91925f03d90c67b11d38e0e2f0e9d7d6b80.tar.gz
ppe42-gcc-080de91925f03d90c67b11d38e0e2f0e9d7d6b80.zip
* config/os/hpux/bits/os_defines.h: Prefix __strtoll and
__strtoull declarations with __extension__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48516 138bc75d-0d04-0410-961f-82ee72b054a4
-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 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 <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 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
OpenPOWER on IntegriCloud