[sword-devel] Xiphos FTBFS with GCC 5.0

Karl Kleinpaste karl at kleinpaste.org
Wed Feb 11 05:21:38 MST 2015


On 02/11/2015 04:06 AM, Matěj Cepl wrote:
> I think you are right. In case you want to file a bug
I was beginning to file a bug, but then looked more closely at the build
log.

In file included from /usr/include/c++/5.0.0/map:60:0,
                 from ../src/main/modulecache.hh:45,
                 from ../src/main/modulecache.cc:30:

Um.

    38  #include <gtk/gtk.h>
    39  #include <glib.h>
    40  #include <assert.h>
    41  #include "main/global_ops.hh"
    42 
    43  #ifdef __cplusplus
    44 
    45  #include <map>
    46  #include <string>

This hasn't gotten as far as my nested maps in modulecache.hh.  It's
complaining at the point of <map>'s inclusion.

Am I misusing this somehow?  Has gcc4 been doing me some favor that gcc5
has stopped doing?

The further complaints are indeed about ModuleCache::CacheVerse, so
maybe gcc5's idea of line number where a fault occurred is funky.

I love puzzles, I hate mysteries.

--karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20150211/38ceed7c/attachment.html>


More information about the sword-devel mailing list