https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57580

Ben Webb <ben at salilab dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ben at salilab dot org

--- Comment #5 from Ben Webb <ben at salilab dot org> ---
FWIW, I see the exact same problem with Daniel's test program:

$ gcc -c test.cpp
test.cpp:8:2: error: stray ‘#’ in program
 BROKEN
  ^
test.cpp:8:27: note: #pragma message: message0
 BROKEN
                           ^
test.cpp:8:3: error: ‘pragma’ does not name a type
 BROKEN
   ^

Note that this is with gcc 4.9 (at least, RedHat's version of it, as packaged
in Fedora 21):

$ gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --enable-multilib --with-system-zlib
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --with-linker-hash-style=gnu
--enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --enable-plugin
--enable-initfini-array --disable-libgcj
--with-isl=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/isl-install
--with-cloog=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/cloog-install
--enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
Thread model: posix
gcc version 4.9.2 20150212 (Red Hat 4.9.2-6) (GCC)

Reply via email to