Vcsn/TroubleShooting

From LRDE

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'