Excerpts from Andreas Scheuring's message of 2012-09-19 01:04:02 -0700:
> So I downloaded the new version and edited the corresponding line in the file 
> "/Experimental-Assimilation-3195581b5863/CMakeLists.txt" the following
> added -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast
> and removed -Wcast-qual
> 
> The last problem seems to be solved, but now a new compiling error occurred:
> 
> [root@assimmon59 bin]# cmake ../Experimental-Assimilation-3195581b5863/
> -- The C compiler identification is GNU
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- checking for module 'glib-2.0'
> --   found glib-2.0, version 2.22.5
> -- found gnu
> -- Found Doxygen: /usr/bin/doxygen
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /assimmon/bin

We need to add checks to cmake so it detects the missing headers here.

> 
> Clint:  How do we go about make cmake detect this and add the flags
> (or remove them) according to the environment we're compiling in?

cmake is not my build system of choice, but it does have facilities for
this. We just have to dive in. The less special casing the better though.
Ideally we can isolate these to a few key files where portability is
centered and just relax the flags for those files in general.

This early, I'd say focus on the newest compilers/OS's/libraries and
leave porting to platforms none of us uses/has available to those who
do use them or have them available.
_______________________________________________
Assimilation mailing list - Discovery-Driven Monitoring
[email protected]
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/

Reply via email to