Comments (7)
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.
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.
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.
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.
yes, that's why I don't understand...
from dgtal.
ps: see issue 72 for this problem (not this one)
from dgtal.
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)
- Dgtal does not build on Mac M1 because of Catch HOT 3
- Qt5 issue on MacOS HOT 6
- Appveyor bot needs an upgrade HOT 4
- Issue of linking on DGtal website HOT 2
- ITKWriter fails to write images HOT 3
- Build issue with ITK on Apple Silicon HOT 7
- Check scaling issues in Poisson problems with PolygonalDEC operators HOT 1
- Bug in DGtal::functions::Hull2D::computeHullThickness HOT 7
- Issue of links on DGtal website HOT 2
- Documentation issue in RawReader HOT 4
- Add exact computeHullThickness instead angle tolerance
- SurfaceMeshReader/Writer should be documented in moduleIO.dox
- Fix pybind11 and CTEST command in the python binding test on MacOS
- Missing SymmetricConvexExpander.h file HOT 1
- testStabbingCircleComputer failing HOT 4
- testIntegerConverter does not pass anymore
- Reactivate unit-test on windows HOT 5
- DGMM tutorial keynote and pdf file missing HOT 1
- Test fails testArithmeticalDSSComputerOnSurfels HOT 3
- stb causes many linker issues when including DGtal files from other files -- workaround provided HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dgtal.