Seu esquema de cores do terminal está em conflito com as cores padrão do GCC. Ou seja, preto no preto não é visível. Isso é explicado no manual :
The colors are defined by the environment variable GCC_COLORS
. Its
value is a colon-separated list of capabilities and Select Graphic
Rendition (SGR) substrings. SGR commands are interpreted by the
terminal or terminal emulator. (See the section in the documentation
of your text terminal for permitted values and their meanings as
character attributes.) These substring values are integers in decimal
representation and can be concatenated with semicolons. Common values
to concatenate include 1
for bold, 4
for underline, 5
for blink,
7
for inverse, 39
for default foreground color, 30
to 37
for
foreground colors, 90
to 97
for 16-color mode foreground colors,
38;5;0
to 38;5;255
for 88-color and 256-color modes foreground
colors, 49
for default background color, 40
to 47
for background
colors, 100
to 107
for 16-color mode background colors, and
48;5;0
to 48;5;255
for 88-color and 256-color modes background
colors.
The default GCC_COLORS is
error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01
where 01;31
is bold red, 01;35
is bold magenta, 01;36
is bold
cyan, 01;32
is bold green and 01
is bold. Setting GCC_COLORS
to
the empty string disables colors. Supported capabilities are as
follows.
Você poderá modificar a variável de ambiente GCC_COLORS
para alterar quote
para uma cor diferente, algo como 01;34
. A página da Wikipedia nos códigos de escape ANSI tem mais informações.