davidmalcolm / gcc-python-plugin

GCC plugin that embeds CPython inside the compiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

demo.expected and demo.expected.no-refcounts. Bad quote chars...

roadk1ll opened this issue · comments

demo tests fail as expected content cannot match due to quote chars.

Raw copy: (looks fine)
demo.c: In function ‘socket_htons’:
demo.c:36:: warning: Mismatching type in call to PyArg_ParseTuple with format code "i:htons"
demo.c: In function ‘not_enough_varargs’:
demo.c:46:: warning: Not enough arguments in ca...

What you get in vi...looks like a copy paste thing...
demo.c: In function ▒~@Xsocket_htons▒@Y:
demo.c:36:: warning: Mismatching type in call to PyArg_ParseTuple with format code "i:htons"
demo.c: In function ▒
@Xnot_enough_varargs▒@~Y:
demo.c:46:: warning: Not enough arguments in ca

Correct and all is as expected.

Again my env -

yep - docker locales:

LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=