src/platform/generic/cpu_type.c: Eliminate warning during g++ builds

James E Keenan jkeen at verizon.net
Sun Sep 23 01:18:42 UTC 2012


The patch attached eliminates a warning we're getting during 'make' when 
building with g++.

See 
https://en.wikibooks.org/wiki/GCC_Debugging/g%2B%2B/Warnings/deprecated_conversion_from_string_constant 
for more discussion of this warning.

I get 'make test PASS' with this patch on linux/i386 with all-gcc build 
and with the last commit at which 'make test PASS' was the result on 
all-g++ build.  (All g++-build broken at the moment; see 
https://github.com/parrot/parrot/issues/840.)

Please evaluate the patch.

Thank you very much.
Jim Keenan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Eliminate-a-warning-appearing-in-g-builds.patch
Type: text/x-diff
Size: 1080 bytes
Desc: not available
URL: <http://lists.parrot.org/pipermail/parrot-dev/attachments/20120922/50a61d34/attachment.bin>


More information about the parrot-dev mailing list