Re: Various compilers/OS/architectures calitko tests

Hi Peter,

thanks for these hints! Finally, I’ve managed to compile calitko by using all compilers that I’ve available (excluding the one on Solaris, because I got Qt4 compilation problems there). Here is the report (compliation logs are attached also):

FreeBSD 6.2-STABLE, g++ 3.4.6, Qt 4.2.3, developers/s3rvac/calitko-dev (rev. 188)

OK.

g++ (GCC) 3.4.6 [FreeBSD]
That’s exactly the problem Giles initially had. Since that seems like a common Qt configuration problem, I’ve fixed that (revno 128 of the official calitko branch) you could just apply the diff manually if that would be easier for you.

Yes, with your last updates it compiles without any problems.

Linux CentOS SMP x86_64 , Intel C/C++ compiler - icc (ICC) 10.0, Qt 4.2.3, developers/s3rvac/calitko-dev (rev. 188)

OK.

qmake has generated a broken Makefile. First the precompiled header is created, then the first source file should be compiled. The problem is that icpc does not recognise -include tester as the precompiled header. I found on the Internet that the precompiled headers switch is -use-pch , so maybe you could try to manually fix Makefile.calitko-wrapper.tester and Makefile.calitko-wrapper.tester by changing the lines:
[snip]

This didn’t work - the option ‘-use-pch’ is deprecated and even it says that it should work in this version, it wasn’t working.

-use-pch tester.gch/c++
icpc: command line remark #10010: option '-use-pch' is deprecated and will be removed in a future release. See '-help deprecated'

If that does not work, then try commenting the lines:
CONFIG += precompile_header
PRECOMPILED_HEADER = Qt.h

in both calitko.pri and tester.pri. That would disable precompiled headers.

Yes, that worked. However, I went into other problems - I think they were caused by disabling precompiled headers. I had to put #include "Qt.h" in many source files because there were errors saying that Qt classes weren’t declared. See ‘calitko-icc.diff’ for changes I’ve made to get it working. I think we should unify “Qt.h” including, because in some source files the “Qt.h” include is present an in some not.

Btw you can take a look on the ‘linux-icc.txt’ compilation log - the Intel compiler produced different warnings/messages than g++, so we could use it to improve the calitko code.

Have a nice day,

Petr

Attached Files:

Would you like to post a relpy?


This post is a reply to:
Re: Various compilers/OS/architectures calitko tests
Hi Petr, It's great you run these tests! I think we can manage to compile calitko using all compilers. Intel C/C++ compiler (ICC) 10.0 make -f Makefile.calitko-wrapper.tester make[2]: Entering directory `/homes/eva/xz/xzemek02/Test/Calitko/calitko-dev' icpc -x c++-header -c (more...)

Follow-ups:
Re: Various compilers/OS/architectures calitko tests
Hi Petr, Yes, that worked. However, I went into other problems - I think they were caused by disabling precompiled headers. I had to put #include "Qt.h" in many source files (more...)