[omniORB] New (and unusual) NT warnings...

Marcus MacWilliam marcusma@lsl.co.uk
Fri Sep 20 10:59:00 2002


--------------ACB559DBAC00C3681C3E5989
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

All,

I have recently stated loading the OmniORB 4 libraries statically
in to my CORBA server. However when I link the server in to an
executable, I have started to get the following warnings.

LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other
libs; use /NODEFAULTLIB:library
LINK : warning LNK4049: locally defined symbol ""int __cdecl
strcasecmp(char const *,char const *)" (?strcasecmp@@YAHPBD0@Z)"
imported
LINK : warning LNK4049: locally defined symbol ""int __cdecl
strncasecmp(char const *,char const *,unsigned int)"
(?strncasecmp@@YAHPBD0I@Z)" imported

I am using VC++ V5, on NT v4.0 (SP5) and OmniORB v4.0.rc1.

Why are these caused, and how do I eliminate them.

Thanks,
--
 Marcus A.T MacWilliam, MSc, CEng, MBCS, BSc(Hons).
 Senior Software Engineer, Laser-Scan Ltd, Cambridge, CB4 0FY.
 Tel: +44 (0)1223 420414 x213. Mobile: +44 (0)7803 706597.
 Fax: +44 (0)1223 420044. Web: http://www.laser-scan.co.uk/


--------------ACB559DBAC00C3681C3E5989
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
All,
<p>I have recently stated loading the OmniORB 4 libraries statically
<br>in to my CORBA server. However when I link the server in to an
<br>executable, I have started to get the following warnings.
<p><tt><font size=-1>LINK : warning LNK4098: defaultlib "LIBCMT" conflicts
with use of other libs; use /NODEFAULTLIB:library</font></tt>
<br><tt><font size=-1>LINK : warning LNK4049: locally defined symbol ""int
__cdecl strcasecmp(char const *,char const *)" (?strcasecmp@@YAHPBD0@Z)"
imported</font></tt>
<br><tt><font size=-1>LINK : warning LNK4049: locally defined symbol ""int
__cdecl strncasecmp(char const *,char const *,unsigned int)"</font></tt>
<br><tt><font size=-1>(?strncasecmp@@YAHPBD0I@Z)" imported</font></tt>
<p>I am using VC++ V5, on NT v4.0 (SP5) and OmniORB v4.0.rc1.
<p>Why are these caused, and how do I eliminate them.
<p>Thanks,
<br>--
<br>&nbsp;Marcus A.T MacWilliam, MSc, CEng, MBCS, BSc(Hons).
<br>&nbsp;Senior Software Engineer, Laser-Scan Ltd, Cambridge, CB4 0FY.
<br>&nbsp;Tel: +44 (0)1223 420414 x213. Mobile: +44 (0)7803 706597.
<br>&nbsp;Fax: +44 (0)1223 420044. Web: <A HREF="http://www.laser-scan.co.uk/">http://www.laser-scan.co.uk/</A>
<br>&nbsp;</html>

--------------ACB559DBAC00C3681C3E5989--