]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Do not assume std::FILE is complete [PR 99270]
authorJonathan Wakely <jwakely@redhat.com>
Thu, 25 Feb 2021 15:31:19 +0000 (15:31 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 25 Feb 2021 15:35:58 +0000 (15:35 +0000)
libstdc++-v3/ChangeLog:

PR libstdc++/99270
* testsuite/27_io/headers/cstdio/types_std.cc: Use pointer to
FILE instead of FILE.

libstdc++-v3/testsuite/27_io/headers/cstdio/types_std.cc

index 41009f3214c7798a87624223f472b23f6398f56c..ad7cfe9a8819aea11a14f95e09f8c63af9a7cd27 100644 (file)
@@ -22,6 +22,6 @@
 namespace gnu
 {
   std::size_t s;
-  std::FILE f;
+  std::FILE* f;
   std::fpos_t p;
 }