Coder Social home page Coder Social logo

Comments (7)

mtola avatar mtola commented on June 1, 2024

Bonjour

Idem pas ce problème,
tu as un linux avec un gcc 4.6 désormais ?

Le 15/07/2011 09:43, dcoeurjo a écrit :

/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp: In member function ‘virtual void LibBoard::Arrow::flushCairo(cairo_t_, const LibBoard::TransformCairo&) const’:
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp:912:10: warning: suggest explicit braces to avoid ambiguous ‘else’
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp: In member function ‘virtual void LibBoard::Ellipse::flushCairo(cairo_t_, const LibBoard::TransformCairo&) const’:
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp:1171:8: warning: suggest explicit braces to avoid ambiguous ‘else’
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp: In member function ‘virtual void LibBoard::Circle::flushCairo(cairo_t_, const LibBoard::TransformCairo&) const’:
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp:1349:5: warning: suggest explicit braces to avoid ambiguous ‘else’
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp: In member function ‘virtual void LibBoard::Arc::flushCairo(cairo_t_, const LibBoard::TransformCairo&) const’:
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp:1400:10: warning: suggest explicit braces to avoid ambiguous ‘else’
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp: In member function ‘virtual void LibBoard::Polyline::flushCairo(cairo_t_, const LibBoard::TransformCairo&) const’:
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp:1612:10: warning: suggest explicit braces to avoid ambiguous ‘else’
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp: In member function ‘virtual void LibBoard::Rectangle::flushCairo(cairo_t_, const LibBoard::TransformCairo&) const’:
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp:1814:10: warning: suggest explicit braces to avoid ambiguous ‘else’

from dgtal.

dcoeurjo avatar dcoeurjo commented on June 1, 2024

I've got a gcc4.5.2 (by the way, even if it's ambiguous for a given
compiler, we still have to fix it)

On Fri Jul 15 09:54:40 2011, mtola wrote:

Bonjour

Idem pas ce problème,
tu as un linux avec un gcc 4.6 désormais ?

Le 15/07/2011 09:43, dcoeurjo a écrit :

/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp: In member function ‘virtual void LibBoard::Arrow::flushCairo(cairo_t_, const LibBoard::TransformCairo&) const’:
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp:912:10: warning: suggest explicit braces to avoid ambiguous ‘else’
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp: In member function ‘virtual void LibBoard::Ellipse::flushCairo(cairo_t_, const LibBoard::TransformCairo&) const’:
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp:1171:8: warning: suggest explicit braces to avoid ambiguous ‘else’
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp: In member function ‘virtual void LibBoard::Circle::flushCairo(cairo_t_, const LibBoard::TransformCairo&) const’:
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp:1349:5: warning: suggest explicit braces to avoid ambiguous ‘else’
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp: In member function ‘virtual void LibBoard::Arc::flushCairo(cairo_t_, const LibBoard::TransformCairo&) const’:
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp:1400:10: warning: suggest explicit braces to avoid ambiguous ‘else’
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp: In member function ‘virtual void LibBoard::Polyline::flushCairo(cairo_t_, const LibBoard::TransformCairo&) const’:
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp:1612:10: warning: suggest explicit braces to avoid ambiguous ‘else’
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp: In member function ‘virtual void LibBoard::Rectangle::flushCairo(cairo_t_, const LibBoard::TransformCairo&) const’:
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp:1814:10: warning: suggest explicit braces to avoid ambiguous ‘else’


David Coeurjolly - Chargé de recherche CNRS
CNRS, LIRIS-UMR 5205
Université de Lyon
Batiment Nautibus
43 boulevard du 11 novembre 1918, 69622 Villeurbanne cedex, France
Tel : (+33) [0]4.72.44.82.40 Fax : (+33) [0]4.72.43.15.36
http//liris.cnrs.fr/david.coeurjolly

from dgtal.

mtola avatar mtola commented on June 1, 2024

Je pourrai tester sous ma fedora core 15 avec gcc 4.6.
A voir si j'ai encore ma fedora 14...
Sinon, j'ai rien d'autre sous la main... pour le moment.

Mais ok, je note.

Le 15/07/2011 10:42, dcoeurjo a écrit :

I've got a gcc4.5.2 (by the way, even if it's ambiguous for a given
compiler, we still have to fix it)

On Fri Jul 15 09:54:40 2011, mtola wrote:

Bonjour

Idem pas ce problème,
tu as un linux avec un gcc 4.6 désormais ?

Le 15/07/2011 09:43, dcoeurjo a écrit :

/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp: In member function ‘virtual void LibBoard::Arrow::flushCairo(cairo_t_, const LibBoard::TransformCairo&) const’:
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp:912:10: warning: suggest explicit braces to avoid ambiguous ‘else’
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp: In member function ‘virtual void LibBoard::Ellipse::flushCairo(cairo_t_, const LibBoard::TransformCairo&) const’:
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp:1171:8: warning: suggest explicit braces to avoid ambiguous ‘else’
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp: In member function ‘virtual void LibBoard::Circle::flushCairo(cairo_t_, const LibBoard::TransformCairo&) const’:
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp:1349:5: warning: suggest explicit braces to avoid ambiguous ‘else’
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp: In member function ‘virtual void LibBoard::Arc::flushCairo(cairo_t_, const LibBoard::TransformCairo&) const’:
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp:1400:10: warning: suggest explicit braces to avoid ambiguous ‘else’
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp: In member function ‘virtual void LibBoard::Polyline::flushCairo(cairo_t_, const LibBoard::TransformCairo&) const’:
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp:1612:10: warning: suggest explicit braces to avoid ambiguous ‘else’
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp: In member function ‘virtual void LibBoard::Rectangle::flushCairo(cairo_t_, const LibBoard::TransformCairo&) const’:
/home/dcoeurjo/Sources/DGtal/src/Board/Shapes.cpp:1814:10: warning: suggest explicit braces to avoid ambiguous ‘else’

from dgtal.

dcoeurjo avatar dcoeurjo commented on June 1, 2024

Is there any library libboost_program_options-* compiled in your system ?

On 15/07/11 15:21, mtola wrote:

CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:1128 (message):
Unable to find the requested Boost libraries.

Boost version: 1.46.0

Boost include path: /usr/include

The following Boost libraries could not be found:

      boost_program_options

No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.


David Coeurjolly - Chargé de recherche CNRS
CNRS, LIRIS-UMR 5205
Université de Lyon
Batiment Nautibus
43 boulevard du 11 novembre 1918, 69622 Villeurbanne cedex, France
Tel : (+33) [0]4.72.44.82.40 Fax : (+33) [0]4.72.43.15.36
http//liris.cnrs.fr/david.coeurjolly

from dgtal.

mtola avatar mtola commented on June 1, 2024

yes, that's why I don't understand...

from dgtal.

mtola avatar mtola commented on June 1, 2024

ps: see issue 72 for this problem (not this one)

from dgtal.

mtola avatar mtola commented on June 1, 2024

Ok, no warning for me with gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2 under Ubuntu 11.04 - 32 but I fix the source, see my commit here: https://github.com/mtola/DGtal/commit/ded4f649afb90e7df3772f64855d7c1ad633c1b6

from dgtal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.