[Paradiseo-help] [paradiseo-Bugs][12780] mo includes problems/*headers

paradiseo-bugs at gforge.inria.fr paradiseo-bugs at gforge.inria.fr
Mer 14 Sep 13:37:06 CEST 2011


Bugs item #12780, was changed at 01/06/2011 16:50 by Arnaud Liefooghe
You can respond by visiting: 
https://gforge.inria.fr/tracker/?func=detail&atid=663&aid=12780&group_id=145

>Status: Closed
Priority: 3
Submitted By: Johann Dréo (nojhan)
Assigned to: Nobody (None)
Summary: mo includes problems/*headers 
Category: Compile
Group: 1.2.*
Resolution: None


Initial Comment:
The "mo" header has explicit dependencies toward headers in the "problem/" package.

This force every application using MO to build the problems package even if it remains unused.

As a fix I suggest that the problems headers should be included explicitly by the problem-dependent applications and not by the general header.

e.g.
#include <mo>
#include <problems/maxsat>

----------------------------------------------------------------------

Comment By: Johann Dréo (nojhan)
Date: 06/06/2011 17:44

Message:
Note: even when commenting those includes, everything seems to compile just fine…

----------------------------------------------------------------------

You can respond by visiting: 
https://gforge.inria.fr/tracker/?func=detail&atid=663&aid=12780&group_id=145




Plus d'informations sur la liste de diffusion Paradiseo-help