----- Original Message -----

> From: mike <[email protected]>
> To: [email protected]
> Cc: 
> Sent: Wednesday, June 4, 2014 1:45 AM
> Subject: Compiling kicad r4913 under FreeBSD 10.0
> 
> Hi,
> I suspect that r4908 introduced changes to utils/idftools/idf_parser.cpp 
> which 
> makes it fail to compile under FreeBSD 10.0 and clang 3.3.
> 
[snip]

Sorry, my fault. The declaration of olnGroup was changed from map to multimap
but those iterators were not changed. It compiles fine under Debian Linux so
I suspect it's a difference in the implementation of the STL; do you know what
STL is used by BSD?

Anyway, the fix is simple - find occurrences of olnGroup.begin()/end() and
change the declaration of the iterator from:

std::map<std::string, GROUP_OUTLINE*>::iterator

to 

std::multimap<std::string, GROUP_OUTLINE*>::iterator

- Cirilo

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to