Hi Dale, On Sun, Aug 10 2014 at 06:56:40 PM, Dale Snell <ddsn...@frontier.com> wrote: > I built this branch on my Fedora 19 system, and it seems to work > fine. There was one warning during the make phase: > > src/libs/libgroff/version.cpp:3:24: warning: ‘Version_string’ initialized and > declared ‘extern’ [enabled by default] > extern "C" const char *Version_string = "1.22.2"; > ^ > > Frankly, if that's the only warning, I'm more than happy. Most > projects I've built have swarms of warnings.
Yes I have this warning too, it is also present on the current master branch. The warning seems odd to me because extern "C" only indicates not to mangle the symbol. gcc is happy if we write: extern "C" const char *Version_string; const char *Version_string = "1.22.2"; but I'm not sure if it's the proper way to solve this warning. Regards, -- Bertrand Garrigues