This is the mail archive of the gcc@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]

An unexpected warning (trigraph)


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


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