Hi,

concerning these errors there is a compiler-option to disable them
-Qwd171  

Have a look into
common.i686-pc-cygwin-icl70.mk  (build from common.i686-pc-cygwin-icl.in)
WARN_ERR_CPP contains -Qwe171
which makes 171 (which is a warning by default) an error.
That is a good thind during development of the library, but too strict for librarys like QT (or FOX also).

Just delete -Qwe171 from common.i686-pc-cygwin-icl70.mk and common.i686-pc-cygwin-icl.in

Greetings,
Christoph


Muralidhar Bojja wrote:
Hi,

I have problems in using QT 2.3 non-commercial with OpenSG 1.2.0 and Intel compiler 7.1 for windows.

I  always get only four errors (please look into the build log).

Can I expect any suggestions.

If some one has working examples of this combination, please send to me.
 

Bojja


Build Log

--------------------Configuration: 11picking - Win32 Debug--------------------

Command Lines

Creating temporary file "D:\DOKUME~1\MBOJJA~1.000\LOKALE~1\Temp\RSPA7D.tmp" with contents [ /MDd /GR /GX /ZI /Od /D "WIN32" /D "_WINDOWS" /D WINVER=0x0400 /D _WIN32_WINDOWS=0x0410 /D _WIN32_WINNT=0x0400 /D "_OSG_HAVE_CONFIGURED_H_" /D __INTEL_COMPILER_VERSION=600 /D "OSG_BUILD_DLL" /D "_DEBUG" /D "OSG_DEBUG" /D "OSG_WITH_GLUT" /D "OSG_WITH_GIF" /D "OSG_WITH_TIF" /D "OSG_WITH_JPG" /Fo"Debug/" /Fd"Debug/" /FD -Qwd985 -Qwd530 -Qwd981 -Qwd193 -Qwd444 -Qwd279 -Qwe698 -Qwe47 -Qwe373 -Qwe171 -Qwe373 -Qwe261 -Qvc6 -Qansi_alias -GZ -I../include -I../lib/glut_3.7/include -I../lib/jpg6b/include -I../lib/tiff-3.5.4/include /c "P:\spacemantix\Soft\opensg_dailybuild.031102.source\OpenSG\Source\WindowSystem\QT\testFieldView.cpp" ] Creating command line "xicl6.exe @D:\DOKUME~1\MBOJJA~1.000\LOKALE~1\Temp\RSPA7D.tmp" Creating temporary file "D:\DOKUME~1\MBOJJA~1.000\LOKALE~1\Temp\RSPA7E.tmp" with contents [ user32.lib kernel32.lib MSVCPRTD.lib MSVCRTD.lib libmmd.lib winmm.lib wsock32.lib OSGBaseD.lib OSGSystemD.lib OSGWindowGLUTD.lib glut32.lib opengl32.lib tif32.lib libjpeg.lib /incremental:yes /pdb:"Debug/11picking.pdb" /debug /machine:IX86 /nodefaultlib /out:"Debug/11picking.exe" /libpath:"..\lib" /libpath:"..\lib\glut_3.7\lib" /libpath:"../lib/jpg6b/lib" /libpath:"../lib/tiff-3.5.4/lib" .\Debug\testFieldView.obj ] Creating command line "xilink6.exe @D:\DOKUME~1\MBOJJA~1.000\LOKALE~1\Temp\RSPA7E.tmp"

Output Window

Compiling... Intel(R) C++ Compiler for 32-bit applications, Version 7.1 Build 20030307Z Copyright (C) 1985-2003 Intel Corporation. All rights reserved. icl -Qvc6 "-Qlocation,link,D:\Programme\Microsoft Visual Studio\VC98\Bin" /MDd /GR /GX /ZI /Od -D WIN32 -D _WINDOWS -D WINVER=0x0400 -D _WIN32_WINDOWS=0x0410 -D _WIN32_WINNT=0x0400 -D _OSG_HAVE_CONFIGURED_H_ -D __INTEL_COMPILER_VERSION=600 -D OSG_BUILD_DLL -D _DEBUG -D OSG_DEBUG -D OSG_WITH_GLUT -D OSG_WITH_GIF -D OSG_WITH_TIF -D OSG_WITH_JPG /FoDebug/ /FdDebug/ /FD -Qwd985 -Qwd530 -Qwd981 -Qwd193 -Qwd444 -Qwd279 -Qwe698 -Qwe47 -Qwe373 -Qwe171 -Qwe373 -Qwe261 -Qvc6 -Qansi_alias -GZ -I../include -I../lib/glut_3.7/include -I../lib/jpg6b/include -I../lib/tiff-3.5.4/include /c P:\spacemantix\Soft\opensg_dailybuild.031102.source\OpenSG\Source\WindowSystem\QT\testFieldView.cpp


testFieldView.cpp
C:\QT\INCLUDE\qcstring.h(104): error #171: invalid type conversion: "const char *" to "long"
  { return (str1 && str2) ? strcmp(str1,str2) : (int)((long)str2 - (long)str1); }
                                                      ^

C:\QT\INCLUDE\qcstring.h(104): error #171: invalid type conversion: "const char *" to "long"
  { return (str1 && str2) ? strcmp(str1,str2) : (int)((long)str2 - (long)str1); }
                                                                   ^

C:\QT\INCLUDE\qcstring.h(111): error #171: invalid type conversion: "const char *" to "long"
       (int)((long)str2 - (long)str1); }
             ^

C:\QT\INCLUDE\qcstring.h(111): error #171: invalid type conversion: "const char *" to "long"
       (int)((long)str2 - (long)str1); }
                          ^

compilation aborted for P:\spacemantix\Soft\opensg_dailybuild.031102.source\OpenSG\Source\WindowSystem\QT\testFieldView.cpp (code 2)
Error executing xicl6.exe.



Results

11picking.exe - 4 error(s), 0 warning(s)

Reply via email to