[Bug c++/100847] New: M1 chip: many functions not declared in "std" or "::"

zihanwu7-c at my dot cityu.edu.hk gcc-bugzilla@gcc.gnu.org
Tue Jun 1 07:42:03 GMT 2021


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

            Bug ID: 100847
           Summary: M1 chip: many functions not declared in "std" or "::"
           Product: gcc
           Version: 11.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zihanwu7-c at my dot cityu.edu.hk
  Target Milestone: ---

Created attachment 50900
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50900&action=edit
terminal output

I use Apple M1 chip to run gcc.

The gcc is installed via home-brew(arm).

It can't compile even the "Hello World" cpp file.

Attachment is the result from:

g++-11 main.cpp -Wall -Wextra

g++-11 -v

and

g++-11 main.cpp -Wall -Wextra -nostdinc++

main.cpp includes <iostream> and uses namespace std.


More information about the Gcc-bugs mailing list