[CMake] Avoid "Qt's circular inclusion" warnings

NoRulez norulez at me.com
Tue Jul 12 07:52:39 EDT 2011


Thanks for the hint, but it doesn't work either:

 

Here is the error which I get in CDash:

 

Build Log Line    353

Error       

 

/usr/include/stdarg.h:4: circular inclusion of /usr/include/stdarg.h

 

Updating '../../../../source/app/client/Languages/Language_ces.ts'...

    Found 874 source text(s) (3 new and 871 already existing)

    Removed 5 obsolete entries

[ 93%] Generating Language_ces.qm

Updating '/.../build/app/client/Languages/Language_ces.qm'...

    Generated 84 translation(s) (1 finished and 83 unfinished)

    Ignored 790 untranslated source text(s)

[ 93%] Generating /.../source/app/client/Languages/Language_dan.ts

 

 

Build Log Line    362

Error       

 

/usr/include/stdarg.h:4: circular inclusion of /usr/include/stdarg.h

 

Updating '../../../../source/app/client/Languages/Language_dan.ts'...

    Found 874 source text(s) (3 new and 871 already existing)

    Removed 5 obsolete entries

[ 93%] Generating Language_dan.qm

Updating '/.../build/app/client/Languages/Language_dan.qm'...

    Generated 84 translation(s) (1 finished and 83 unfinished)

    Ignored 790 untranslated source text(s)

[ 93%] Generating /.../source/app/client/Languages/Language_deu.ts

 

 

Best Regards

NoRulez

 

-----Ursprüngliche Nachricht-----
Von: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] Im Auftrag von
Rolf Eike Beer
Gesendet: Dienstag, 12. Juli 2011 13:01
An: cmake at cmake.org
Betreff: Re: [CMake] Avoid "Qt's circular inclusion" warnings

 

> Hi,

> 

> in my App I use lupdate/lrelease to generate language plugins.

> 

> However due the bug in lupdate which generates "circular inclusion of ..."

> warnings, the dash board (CDash) has error's and not warnings.

> 

> I don't know why there are errors and not warnings.

> 

> Is there a way to disable/ignore those warnings?

 

Put this into CTestCustom.cmake in CMAKE_BINARY_DIR (not _SOURCE_ !):

 

set(CTEST_CUSTOM_WARNING_EXCEPTION ${CTEST_CUSTOM_WARNING_EXCEPTION}

    "circular inclusion of ")

 

Eike

_______________________________________________

Powered by www.kitware.com

 

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

 

Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ

 

Follow this link to subscribe/unsubscribe:

http://www.cmake.org/mailman/listinfo/cmake

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110712/9567b29e/attachment-0001.htm>


More information about the CMake mailing list