Opened 6 years ago
Last modified 6 years ago
#615 closed defect
Compilation warnings (unused local typedefs) — at Initial Version
Reported by: | Alpar Juttner | Owned by: | Alpar Juttner |
---|---|---|---|
Priority: | blocker | Milestone: | LEMON 1.4 release |
Component: | core | Version: | hg main |
Keywords: | Cc: | ||
Revision id: |
Description
Clang compiler version 5.0 reports a tons of warnings of unused local typedefs (recent gcc doesn'n - the reason is unclear to me). This renders the compilation unsuccessful in Maintainer
mode.
We need a decision how to handle it.
- The majority of these warnings comes from the
*GRAPH_TYPEDEFS
macros.- One way to avoid would be to suppress them to apply some compiler specific
#pragma
statement, but I have no idea how to do it safely and compiler independently. Can anyone help me in doing this? Is it possible to do it locally only for these typedefs? - The other solution is to use the
ignode_unused()
templates.
- One way to avoid would be to suppress them to apply some compiler specific
Note: See
TracTickets for help on using
tickets.