Opened 14 years ago

Closed 14 years ago

#1868 closed Bugs (fixed)

[Spirit2] compiler warnings from VC9 + warning level 4

Reported by: Richard Webb <richard.webb@…> Owned by: Joel de Guzman
Milestone: Boost 1.36.0 Component: spirit
Version: Boost Development Trunk Severity: Cosmetic
Keywords: Cc:

Description

Running the Spirit2 tests on VC9 with warning level 4 produces quite a few warnings, mostly 4100 (unreferenced parameter) and 4512 (assignment operator could not be generated).

Attached is a patch to silence the C4100 warnings. I'll look at the others seperately.

Attachments (1)

Spirit2Unref.patch (6.0 KB ) - added by Richard Webb <richard.webb@…> 14 years ago.

Download all attachments as: .zip

Change History (2)

by Richard Webb <richard.webb@…>, 14 years ago

Attachment: Spirit2Unref.patch added

comment:1 by Hartmut Kaiser, 14 years ago

Resolution: fixed
Status: newclosed

I (partially) applied this patch. I don't understand why we need to disable this warning using #pragma's, even more as the parameters in question _are_ referenced from inside their respective functions.

Thanks! Regards Hartmut

Note: See TracTickets for help on using tickets.