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

            Bug ID: 66000
           Summary: Suggestion: more than one "not declared in this scope"
                    per line
           Product: gcc
           Version: 5.1.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: darlingm at gmail dot com
  Target Milestone: ---

With the code
   nonExistantClass varName = nonExistantFunction();

gcc 5.1.0 gives
   error: `nonExistantClass' was not declared in this scope
      nonExistantClass varName = nonExistantFunction();
      ^

It might be better if it ALSO gave:
   error: `nonExistantFunction' was not declared in this scope
      nonExistantClass varName = nonExistantFunction();
                                 ^

Reply via email to