[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: VGUI 1.22 with gcc 2.95



Frank Finner wrote:
> 
> Hi!
> 
> Compiling vgui 1.22 with a brand new freshly compiled gcc 2.95 on a SuSE
> Linux 6.2 system (Kernel 2.2.10, glibc2.1, K6-233), I got the following
> errors:
> 
> vapp.cxx:197: initialization to `void *' from `const char *' discards
> qualifiers
> vpsdc.cxx:276: initialization to `char *' from `const char *' discardsd197
> qualifiers
> 
> This does not happen with an egcs-2.91.66 on the same system. My
> Questions are:
> 
<snip>
> Greetings,
> --
> Frank Finner        http://www.stud.fernuni-hagen.de/q503978


I don't yet run 2.95 on my Linux, so I missed these. I think they got
fixed
for the Windows version. To fix, simply add an appropriate cast
to the lines in error. 2.95 got a bit stricter about const char *'s


-- 

Bruce E. Wampler, Ph.D.

Author of the V C++ GUI Framework

e-mail: mailto:bruce@objectcentral.com
web:    http://www.objectcentral.com


Reply to: