aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2019-08-23 22:04:33 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2019-08-23 22:04:33 +0100
commit4872de4ac72b4687c805a2c370de1095b6429580 (patch)
tree57455bd0e276af5fc5c0e92a0ca281118f31950a /gcc
parenta0fae476721ccc4072d1289106b01ace17d2a2b0 (diff)
downloadgcc-4872de4ac72b4687c805a2c370de1095b6429580.zip
gcc-4872de4ac72b4687c805a2c370de1095b6429580.tar.gz
gcc-4872de4ac72b4687c805a2c370de1095b6429580.tar.bz2
Fix libstdc++ lstat missing return type for Windows target.
Building for i686-mingw32 target (with some local changes) produced an error error: ISO C++ forbids declaration of 'lstat' with no type [-fpermissive] in libstdc++-v3/src/filesystem/ops-common.h. This patch adds the missing return type. OK to commit (trunk and GCC 9 branch)? Note 1: I haven't run the testsuite with this patch, but it fixes the build failure I see (in sources with other local changes). Note 2: I don't know why this hasn't produced build failures for other people, but the missing return type looks wrong in any case even if other local changes are for some reason needed for it to produce an error. * src/filesystem/ops-common.h [_GLIBCXX_FILESYSTEM_IS_WINDOWS] (std::filesystem::__gnu_posix::lstat): Add return type. From-SVN: r274885
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions