Donate Share

Pantheios - The C/C++ Logging Sweetspot

Tracker: Bugs

5 can't build with Intel 9.x under Win32 - ID: 1828353
Last Update: Settings changed ( matsys )

I wanted to build pantheios 1.0.1-beta 44 with stlsoft 1.9.6 with Intel
Compiler 9.1.028 under Win32.
(With Visual Studio 2005 their was no problem).

First problem:
-The STLSOFT header files stopped the compilation process because of the
compiler version. So I patched it to work with 9.1 because I thought that
the changes between 9.0 and 9.1 are not that big.

Second problem:
I'm getting several errors regarding 'deprecated' functions.

Any suggestions ?


Nobody/Anonymous ( nobody ) - 2007-11-08 15:35

5

Closed

Fixed

Matt Wilson

Build

None

Public


Comments ( 7 )

Date: 2008-01-18 22:59
Sender: matsysProject Admin


Fixed as of 1.0.1 beta 86; see
http://sourceforge.net/forum/forum.php?forum_id=775723


Date: 2007-12-28 22:33
Sender: matsysProject Admin


Marking this closed/postponed, as can't reproduce. Will likely be resolved
when the safe library compatibility is handled in one of the final beta
releases.


Date: 2007-11-12 07:59
Sender: loo66


Hi,

it's getting more interesting:
I added -Qwd1478 to the makefile. After several correctly built modules I
got the following:

--------------------------------------------------
icl -nologo -c -W3 -Qwd171 -Qwd193 -Qwd279 -Qwd383 -Qwd1478 -WX
-O1 -G
X -GR -MTd -D_DEBUG -DWIN32 -DPANTHEIOS_NO_AUTO_INIT -I..\..\include
-I"d:\wor
k\stlsoft-1.9.6\include" -Fo.\fe.WindowsRegistry.mt.debug.obj
..\..\src\fe\fe.
WindowsRegistry.cpp
fe.WindowsRegistry.cpp
(0): internal error: backend signals

compilation aborted for ..\..\src\fe\fe.WindowsRegistry.cpp (code 4)
NMAKE : fatal error U1077:
'd:\Programme\Intel\Compiler\C++\9.1\Ia32\Bin\icl.EXE
' : return code '0x4'
Stop.
D:\work\pantheios-1.0.1-beta44>
--------------------------------------------------

Any ideas ?

Thanks in advance
Loo66


Date: 2007-11-09 22:27
Sender: matsysProject Admin


For the moment, try adding -Qwd4996 to CPPC_F_WARNING_MAX and
CC_F_WARNING_MAX in your makefile.

HTH

Matt


Date: 2007-11-09 07:08
Sender: loo66


My build script looks as follows:

---
set STLSOFT=d:\work\stlsoft-1.9.6
call "d:\Programme\Intel\Compiler\C++\9.1\IA32\Bin\iclvars.bat"
cd build\icl9
nmake /f makefile.win32
cd ..\..
---

and I added the following two lines to stlsoft.h at line 365:

...
# elif (__INTEL_COMPILER == 910)
# define STLSOFT_COMPILER_VERSION_STRING "Intel C/C++ 9.1"
...

and this is the result:

---------------------------
D:\work\pantheios-1.0.1-beta44>doit_icl9.cmd

D:\work\pantheios-1.0.1-beta44>set STLSOFT=d:\work\stlsoft-1.9.6

D:\work\pantheios-1.0.1-beta44>call
"d:\Programme\Intel\Compiler\C++\9.1\IA32\Bi
n\iclvars.bat"

Intel(R) C++ Compiler 9.1.028 Build Environment for 32-bit applications
Copyright (C) 1985-2006 Intel Corporation. All rights reserved.

Setting environment for using Microsoft Visual Studio 2005 x86 tools.


Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

icl -nologo -c -W3 -Qwd171 -Qwd193 -Qwd279 -Qwd383 -WX -O1 -GX
-GR -MT
d -D_DEBUG -DWIN32 -DPANTHEIOS_NO_AUTO_INIT -I..\..\include
-I"d:\work\stlsoft
-1.9.6\include" -Fo.\core.api.mt.debug.obj ..\..\src\core\api.cpp
api.cpp
..\..\src\core\api.cpp(791): error #1478: function "_vsnprintf" (declared
at lin
e 339 of "D:\Programme\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h") was
declar
ed "deprecated"
int cch = ::vsnprintf(&sz[0], STLSOFT_NUM_ELEMENTS(sz) - 1,
format,
args);
^

compilation aborted for ..\..\src\core\api.cpp (code 2)
NMAKE : fatal error U1077:
'd:\Programme\Intel\Compiler\C++\9.1\Ia32\Bin\icl.EXE
' : return code '0x2'
Stop.
D:\work\pantheios-1.0.1-beta44>
---------------------------

After that I played around with the PANTHEIOS_MIN_CRT setting but then I
got almost the same message with sprintf.

Thanks for your efforts.


Date: 2007-11-08 18:40
Sender: matsysProject Admin


Also, will you attach your STLSoft header (or diff)?

Thanks


Date: 2007-11-08 18:38
Sender: matsysProject Admin


> First problem:
> -The STLSOFT header files stopped the compilation process
> because of the compiler version. So I patched it to work
> with 9.1 because I thought that the changes between 9.0
> and 9.1 are not that big.

I agree that should be fine

> Second problem:
> I'm getting several errors regarding 'deprecated' functions.

> Any suggestions ?

I'd need to see them, as I don't have Intel 9.1. Will you reply and attach
the full build error list, and that should help me see what's happening.

Thanks

Matt


Attached File

No Files Currently Attached

Changes ( 8 )

Field Old Value Date By
status_id Open 2008-01-18 23:00 matsys
close_date - 2008-01-18 23:00 matsys
resolution_id Postponed 2008-01-18 22:59 matsys
status_id Closed 2008-01-18 22:59 matsys
close_date 2007-12-28 22:33 2008-01-18 22:59 matsys
resolution_id None 2007-12-28 22:33 matsys
close_date - 2007-12-28 22:33 matsys
status_id Open 2007-12-28 22:33 matsys