Opened 14 years ago
Closed 14 years ago
#1868 closed Bugs (fixed)
[Spirit2] compiler warnings from VC9 + warning level 4
Reported by: | 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)
Change History (2)
by , 14 years ago
Attachment: | Spirit2Unref.patch added |
---|
comment:1 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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