Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Compiler warns about redeclaration of boost types on Qt project

Subject: CGAL users discussion list

List archive

[cgal-discuss] Compiler warns about redeclaration of boost types on Qt project


Chronological Thread 
  • From: joaoroberto88 <>
  • To:
  • Subject: [cgal-discuss] Compiler warns about redeclaration of boost types on Qt project
  • Date: Sat, 21 Feb 2015 05:53:11 -0800 (PST)

Hi,

I'm working on a Qt 5 project that uses CGAL 4.5.2. All required libraries
(mpfr, gmp and boost) are configured and installed properly in my UNIX
environment. I was getting an error when building the project:
'boost/config.hpp file not found'. So I decided to add boost include path to
the make file, and after that I got a lot of warnings related to the
redeclaration of some boost types. Then I added the compiler flag
redeclared-class-member to suppress those messages and now the project
builds with no errors/warnings. My question is: are there any configurations
to avoid the usage of this flag without getting compiler warnings? I my
concern the my solution seems to be a workaround to have a successful build.

Thanks,

Joao.



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Compiler-warns-about-redeclaration-of-boost-types-on-Qt-project-tp4660507.html
Sent from the cgal-discuss mailing list archive at Nabble.com.


  • [cgal-discuss] Compiler warns about redeclaration of boost types on Qt project, joaoroberto88, 02/21/2015

Archive powered by MHonArc 2.6.18.

Top of Page