This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/78504] New: Bad fixit hint: '_Pragma' does not name a type; did you mean '_Pragma'?


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

            Bug ID: 78504
           Summary: Bad fixit hint: '_Pragma' does not name a type; did
                    you mean '_Pragma'?
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
                CC: dmalcolm at gcc dot gnu.org
  Target Milestone: ---

g++ -c -x c++ - <<< '_Pragma(GCC system_header)'
<stdin>:1:9: error: _Pragma takes a parenthesized string literal
<stdin>:1:1: error: '_Pragma' does not name a type; did you mean '_Pragma'?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]