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

            Bug ID: 67852
           Summary: false warning: trigraph reported
           Product: gcc
           Version: 5.1.1
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: julien.boucaron at gmail dot com
  Target Milestone: ---

False warning reported in this very small thing:

#include <iostream>

int main() {
  std::cout << "test6: BEGIN (PROBLEM HERE???)" << std::endl;
  return 0;
}


Gcc output:

 g++ -Wall -c parser_issue.cc
parser_issue.cc:4:44: warning: trigraph ??) ignored, use -trigraphs to enable
[-Wtrigraphs]
   std::cout << "test6: BEGIN (PROBLEM HERE???)" << std::endl;


Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/5.1.1/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap
--enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla --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-plugin --enable-initfini-array
--disable-libgcj --with-default-libstdcxx-abi=c++98 --with-isl --enable-libmpx
--enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Reply via email to