Hi Sorin,
Many thanks to you and Boudewijn for taking this on! I compiled your
sources without error using VS Express 2005, and I haven't found any
problems so far on my development system, though my testing has been quite
limited.
I did get these warnings with many files, which seem unimportant except
that C4244 could cause problems down the road:
E:\mico\include\mico/throw.h(55) : warning C4551: function call missing
argument
list
E:\mico\include\mico/throw.h(96) : warning C4551: function call missing
argument
list
E:\mico\include\mico/os-misc.h(72) : warning C4244: '=' : conversion from
'__tim
e64_t' to 'long', possible loss of data
cl : Command line warning D9035 : option 'Yd' has been deprecated and will
be re
moved in a future release
I also tried compiling with VS7.0 and got an error, although the official
release of mico2.3.12 does build with it. I got the following output:
...
link.exe /nologo /debug /dll /incremental:no
/LIBPATH:..\win32-bin\lib
pthreadVC2.lib /manifest os-windows.obj dii.obj typecode.obj any.obj
codec.obj
buffer.obj context.obj except.obj dispatch.obj string.obj object.obj
address.ob
j ior.obj orb.obj dsi.obj transport.obj transport\tcp.obj
transport\udp.obj tra
nsport\unix.obj iop.obj util.obj basic_seq.obj fast_array.obj ssl.obj
watm.obj
fixed.obj intercept.obj codeset.obj queue.obj static.obj current.obj
policy_im
pl.obj service_info.obj ioptypes.obj ssliop.obj value.obj valuetype.obj
valuety
pe_impl.obj dynany_impl.obj policy2.obj tckind.obj orb_excepts.obj
policy.obj p
oa.obj poa_base.obj poa_impl.obj dynany.obj uni_base64.obj
uni_unicode.obj uni_
fromuni.obj uni_touni.obj except2.obj pi.obj pi_impl.obj typecode_seq.obj
timeba
se.obj mtdebug.obj setterm.obj os-thread.obj operation.obj message.obj
mt_dispa
tcher.obj mt_manager.obj imr.obj ..\daemon\imr_impl.obj ir.obj ir_base.obj
..\ir
\ir_impl.obj ..\ir\ir_skel.obj wsock32.lib /out:mico2312.dll
/def:mico2312.de
f /implib:mico2312.lib
LINK : warning LNK4044: unrecognized option '/manifest'; ignored
Creating library mico2312.lib and object mico2312.exp
nmake /nologo /f makefile.win32 copy
mt.exe -manifest mico2312.dll.manifest
-outputresource:mico2312.dll;#1
Microsoft (R) Manifest Tool version 6.0.4071.0
Copyright (c) Microsoft Corporation 2004.
All rights reserved.
mico2312.dll.manifest:general error c1010070:Failed to load and parse the
manife
st. The system cannot find the file specified.
NMAKE : fatal error U1077: 'mt.exe' : return code '0x1f'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
.NET\VC7\B
IN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
.NET\VC7\B
IN\nmake.exe"' : return code '0x2'
Stop.
On Tue, 11 Apr 2006 23:53:15 -0700, Sorin Mustaca <[EMAIL PROTECTED]> wrote:
Hi list,
As you know, in the last couple of months, on this list, came many
requests to adapt MICO to
support the latest Microsoft C/C++ compiler included in VSTUDIO 2005.
Well, we worked hard and now we have something for you to test.
This work wouldn't have been possible without the help of Boudewijn
Dekker . So, once more,
Boudewijn, thank you for your help.
All of you who have VSTUDIO 2005 and are interested to test this,
please, download from the
link below and report all the problems to the list.
I am pretty sure that we haven't broken any compatibility with older
compilers (on any
platform), but please, if possible try to compile it if you have the
time and resources.
The ZIP archive with the sources is here (containing the _darcs folder):
http://www.mico.org/~msorin/mico-cl8-11.4.06.zip
Changelog :
- adapted (almost) all makefile.win32 to compile with manifest
(Boudewijn Dekker)
- added project file to pthreads in order to perform a "native"
compile (Boudewijn Dekker)
- adapted the root makefiles to automatically detect VSTUDIO 2005
(Sorin Mustaca)
- tested backward compatibility with VSTUDIO .NET 2003 (cl 7.1) (Sorin
Mustaca)
- added minor fixes to orb/ior.cc and idl/codegen-midl.cc in order to
clarify for the compiler
the order of operators (Sorin Mustaca and Boudewijn Dekker)
- added special parameters to the compiler and linker to remove the
warnings for all deprecated
functions in VSTUDIO 2005 (Sorin Mustaca)
WARNING: these sources are still in alpha stage, so , please, don't use
them in production
systems !
Thanks for your help.
Best regards,
Sorin Mustaca
MICO Windows port maintainer
_______________________________________________
Mico-devel mailing list
[email protected]
http://www.mico.org/mailman/listinfo/mico-devel
_______________________________________________
Mico-devel mailing list
[email protected]
http://www.mico.org/mailman/listinfo/mico-devel