ping? It's been a week and this is required to unbreak Solaris/amd64 bootstrap with --enable-languages=all:
https://gcc.gnu.org/pipermail/gcc-patches/2025-April/680675.html Thus it should go into both trunk and the gcc-15 branch. Thanks. Rainer Rainer Orth <r...@cebitec.uni-bielefeld.de> writes: > cdf-copy.cc doesn't compile on Solaris: > > /vol/gcc/src/hg/master/local/gcc/cobol/cdf-copy.cc: In member function ‘int > copybook_elem_t::open_file(const char*, bool)’: > /vol/gcc/src/hg/master/local/gcc/cobol/cdf-copy.cc:317:34: error: > ‘GLOB_BRACE’ was not declared in this scope; did you mean ‘GLOB_ERR’? > 317 | static int flags = GLOB_MARK | GLOB_BRACE | GLOB_TILDE; > | ^~~~~~~~~~ > | GLOB_ERR > /vol/gcc/src/hg/master/local/gcc/cobol/cdf-copy.cc:317:47: error: > ‘GLOB_TILDE’ was not declared in this scope > 317 | static int flags = GLOB_MARK | GLOB_BRACE | GLOB_TILDE; > | ^~~~~~~~~~ > > GLOB_BRACE and GLOB_TILDE are BSD extensions not in POSIX.1, thus > missing on Solaris probably due to its System V heritage. > > This patch introduces fallback definitions to avoid this. > > Bootstrapped without regressions on amd64-pc-solaris2.11, > sparcv9-sun-solaris2.11, and x86_64-pc-linux-gnu. > > Ok for trunk? > > Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University