An unexpected warning (trigraph)

Ryszard Kabatek Ryszard.Kabatek@softax.pl
Wed May 23 03:11:00 GMT 2001


Hi.

In the sample below I get the folowing warnings
with gcc version 3.0 20010514 (prerelease).

g++ -Wall x.cc

x.cc:3:24: warning: trigraph ??> ignored
x.cc: In function `int main()':
x.cc:3: warning: unused variable `const char*str'

int main()
{
  const char* str = "<???>";
}


I'm wondering about the trigraph warning.

Regards
-- 
Ryszard Kabatek

Tel. (Softax) +48 (22) 517 38 31



More information about the Gcc mailing list