ronchaine / llvm-project

Guess I'll try to do something useful with llvm here
http://llvm.org
0 stars 0 forks source link

<support/musl/xlocale.h> doesn't always get included? #5

Open ronchaine opened 4 years ago

ronchaine commented 4 years ago

Taking <support/musl/xlocale.h> out of #ifdefs (copypasting it after the next #endif), everything compiles fine. Which doesn't make sense, since putting a #warning inside the ifdef branch where the include is still shows.

ronchaine commented 4 years ago

Offending files:

libcxx/src/iostream.cpp
libcxx/src/locale.cpp
libcxx/src/random.cpp
libcxx/src/atomic.cpp
libcxx/src/algorithm.cpp
libcxx/src/strstream.cpp
libcxx/src/ios.cpp
libcxx/src/filesystem/directory_iterator.cpp
libcxx/src/filesystem/operations.cpp

All of these seem to include ostream