bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: __attribute__((__unused__)) problem


From: victor khomenko
Subject: RE: __attribute__((__unused__)) problem
Date: Mon, 8 Apr 2013 19:14:13 +0000

Dear Akim,

I've attached the *.y and the corresponding bison-generated parser. The 
warnings I get are below.

Regards,
Victor.

----------

c:\punf\picallib\parse_pi.cpp(1202) : warning C4365: 'return' : conversion from 
'int' to 'size_t', signed/unsigned mismatch

c:\punf\picallib\parse_pi.cpp(1657) : warning C4242: '=' : conversion from 
'int' to 'yytype_int16', possible loss of data

c:\punf\picallib\parse_pi.cpp(1662) : warning C4365: 'initializing' : 
conversion from 'int' to 'size_t', signed/unsigned mismatch

c:\punf\picallib\parse_pi.cpp(1704) : warning C4127: conditional expression is 
constant

c:\punf\picallib\parse_pi.cpp(1705) : warning C4127: conditional expression is 
constant

c:\punf\picallib\parse_pi.cpp(1706) : warning C4127: conditional expression is 
constant

c:\punf\picallib\parse_pi.cpp(1773) : warning C4127: conditional expression is 
constant

c:\punf\picallib\parse_pi.cpp(1826) : warning C4127: conditional expression is 
constant

c:\punf\picallib\parse_pi.cpp(2292) : warning C4127: conditional expression is 
constant

c:\punf\picallib\parse_pi.cpp(2344) : warning C4127: conditional expression is 
constant

c:\punf\picallib\parse_pi.cpp(854) : warning C4505: 'yy_location_print_' : 
unreferenced local function has been removed

c:\punf\picallib\parse_pi.cpp(2295) : warning C4702: unreachable code

Attachment: parse_pi.y
Description: parse_pi.y

Attachment: parse_pi.cpp
Description: parse_pi.cpp


reply via email to

[Prev in Thread] Current Thread [Next in Thread]