Vcsn/TroubleShooting

From LRDE

Revision as of 16:00, 6 November 2014 by Bot (talk | contribs) (Rename Vaucanson namespace into Vcsn)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Build problem

Warnings: argument unused

This warning is due to the use of ccache: it calls the compiler with options that have become useless, and clang complains about them:

  CXX      lib/vcsn/algos/lib_libvcsn_la-are-isomorphic.lo
clang: warning: argument unused during compilation: '-I ../..'
clang: warning: argument unused during compilation: '-I .'
clang: warning: argument unused during compilation: '-isystem /opt/local/include'

To get rid of these warnings, use pass -Qunused-arguments to your compiler. For instance:

./configure CXX='ccache clang++' CXXFLAGS='-Qunused-arguments'