OSDN Git Service

* include/c_global/cinttypes: Update comments that refer to TR1.
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Dec 2011 17:20:44 +0000 (17:20 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Dec 2011 17:20:44 +0000 (17:20 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182659 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/c_global/cinttypes

index 728655f..dbe0bb5 100644 (file)
@@ -1,5 +1,9 @@
 2011-12-23  Jonathan Wakely  <jwakely.gcc@gmail.com>
 
+       * include/c_global/cinttypes: Update comments that refer to TR1.
+
+2011-12-23  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
        PR libstdc++/49204
        * include/std/future (future_errc): Implement LWG 2056.
 
index df73340..030962b 100644 (file)
@@ -1,6 +1,6 @@
 // <cinttypes> -*- C++ -*-
 
-// Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+// Copyright (C) 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -37,7 +37,7 @@
 
 #include <cstdint>
 
-// For 8.11.1/1 (see C99, Note 184)
+// For 27.9.2/3 (see C99, Note 184)
 #if _GLIBCXX_HAVE_INTTYPES_H
 # ifndef __STDC_FORMAT_MACROS
 #  define _UNDEF__STDC_FORMAT_MACROS
@@ -59,16 +59,10 @@ namespace std
 
   // functions
   using ::imaxabs;
-
-  // May collide with _Longlong abs(_Longlong), and is not described
-  // anywhere outside the synopsis.  Likely, a defect.
-  //
-  // intmax_t abs(intmax_t)
-
   using ::imaxdiv;
 
-  // Likewise, with lldiv_t div(_Longlong, _Longlong).
-  //
+  // GCC does not support extended integer types
+  // intmax_t abs(intmax_t)
   // imaxdiv_t div(intmax_t, intmax_t)
 
   using ::strtoimax;