wx_cv_gcc_pch_bug=no
echo 'const wchar_t test_var[] = L"wide string";' > conftest.h
- if $CXX conftest.h >& /dev/null
+ if $CXX conftest.h >/dev/null 2>&1
then
{
echo '#include "conftest.h"'
echo 'const wchar_t *test() { return test_var; }'
} > conftest.cpp
- if $CXX -c -o conftest.o conftest.cpp >& /dev/null
+ if $CXX -c -o conftest.o conftest.cpp >/dev/null 2>&1
then
tr -dc 'a-z' < conftest.o |
- grep 'widestring' >& /dev/null ||
+ grep 'widestring' >/dev/null ||
wx_cv_gcc_pch_bug=yes
fi
fi