Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > openwatcom.users.c_cpp > #3562

Re: any idea of what is going wrong here ?

From Lynn McGuire <lynnmcguire5@gmail.com>
Newsgroups openwatcom.users.c_cpp
Subject Re: any idea of what is going wrong here ?
Date 2018-12-07 19:52 -0600
Organization OpenWatcom
Message-ID <puf82b$t8v$1@www.openwatcom.org> (permalink)
References <puevrg$r5n$1@www.openwatcom.org>

Show all headers | View raw


On 12/7/2018 5:32 PM, Lynn McGuire wrote:
> C:\dii\fm2nbook>wcl386 dii2xcel.cpp
> Open Watcom C/C++32 Compile and Link Utility Version 1.9
> Portions Copyright (c) 1988-2002 Sybase, Inc. All Rights Reserved.
> Source code is available under the Sybase Open Watcom Public License.
> See http://www.openwatcom.org/ for details.
>          wpp386 dii2xcel.cpp  /ei /w4
> Open Watcom C++32 Optimizing Compiler Version 1.9
> Portions Copyright (c) 1989-2002 Sybase, Inc. All Rights Reserved.
> Source code is available under the Sybase Open Watcom Public License.
> See http://www.openwatcom.org/ for details.
> c:\watcom\H\limits(50): Error! E055: col(21) not enough parameters given 
> for macro 'min'
> c:\watcom\H\limits(50): Note! N393: col(21) included from 
> c:\watcom\H\vector(34)
> 
> c:\watcom\H\limits(50): Note! N393: col(21) included from 
> ../security/diiw_library.h(40)
> c:\watcom\H\limits(50): Note! N393: col(21) included from dii2xcel.cpp(99)
> c:\watcom\H\limits(50): Note! N851: col(21) macro 'min' defined in: 
> c:\watcom\H\NT\windef.h(254) (col 17)
> c:\watcom\H\limits(51): Error! E055: col(21) not enough parameters given 
> for macro 'max'
> c:\watcom\H\limits(51): Note! N851: col(21) macro 'max' defined in: 
> c:\watcom\H\NT\windef.h(257) (col 17)
> The instruction at 0x6906fd76 referenced memory at 0x00000000.
> The memory could not be read.
> Exception fielded by 0x00402d90
> EAX=0x00000000 EBX=0x002de0ec ECX=0x071fb35c EDX=0x00000000
> ESI=0x002f09d4 EDI=0x002d3b38 EBP=0x0440faac ESP=0x0440fa28
> EIP=0x6906fd76 EFL=0x00010246 CS =0x00000023 SS =0x0000002b
> DS =0x0000002b ES =0x0000002b FS =0x00000053 GS =0x0000002b
> Stack dump (SS:ESP)
> 0x00000000 0x69026a9f 0x00000000 0x0440fa01 0x071fb35c 0x0038d2a8
> 0x0038aae4 0x69080e93 0x00000004 0x00000000 0x0440fb0c 0x060d1080
> 0x060d1080 0x6907c43d 0x00000000 0x072f6394 0x00000101 0x6905c5a2
> 0x00000040 0x0038d2a8 0x000005ab 0x0440fafc 0x0440fad0 0x00000106
> 0x0440fb0c 0x6907d4eb 0x0440fb00 0x0440fbf0 0x00000000 0x000000aa
> 0x00000006 0x00000001 0x69081e1f 0x00000000 0x0038f8fc 0x0038aae4
> 0x0038aa84 0x0038d2a8 0x0038d284 0x0038ec96 0x0038ec84 0x0038ee82
> 0x002de0e4 0x00000000 0x002d3ba8 0x002f09d4 0x00000000 0x00000000
> 0x00000000 0x003cb0c0 0x00140010 0x00000000 0x00000000 0x072f5d04
> 0x00000054 0x00000020 0x072f6394 0x00000000 0x00000000 0x060d1040
> 0x00040010 0x00000000 0x00000040 0x0440fd10 0x002f3804 0x00000000
> 0x00000000 0x69057465 0x00000000 0x00000000 0x0440fbe0 0x0440fd10
> Error: Unable to invoke "c:\watcom\binnt\wpp386.exe"
> 
> 
> Thanks,
> Lynn

I changed the min() and max() in the limit and vector header files in 
c:\watcom\h to min123() and max123().  Redefining the min and max macros 
is not cool in OW C++ I guess.

I am still having weird compilation errors that I am working through. 
Some are the _bstr_t OLE2 problems in OW.

Lynn

Back to openwatcom.users.c_cpp | Previous | NextPrevious in thread | Find similar


Thread

any idea of what is going wrong here ? Lynn McGuire <lynnmcguire5@gmail.com> - 2018-12-07 17:32 -0600
  Re: any idea of what is going wrong here ? Lynn McGuire <lynnmcguire5@gmail.com> - 2018-12-07 19:52 -0600

csiph-web