Skip to content

Instantly share code, notes, and snippets.

@gerdr
Created May 13, 2012 16:23
Show Gist options
  • Select an option

  • Save gerdr/2689176 to your computer and use it in GitHub Desktop.

Select an option

Save gerdr/2689176 to your computer and use it in GitHub Desktop.
Parrot warnings on Win64
src/debug.c: In function 'PDB_disassemble_op':
src/debug.c:2661: warning: unknown conversion type character 'l' in format
src/debug.c:2661: warning: too many arguments for format
src/runcore/subprof.c: In function 'dump_profile_data':
src/runcore/subprof.c:855: warning: unknown conversion type character 'l' in format
src/runcore/subprof.c:855: warning: too many arguments for format
src/runcore/subprof.c:857: warning: unknown conversion type character 'l' in format
src/runcore/subprof.c:857: warning: too many arguments for format
src/runcore/subprof.c:857: warning: unknown conversion type character 'l' in format
src/runcore/subprof.c:857: warning: too many arguments for format
src/runcore/subprof.c:857: warning: unknown conversion type character 'l' in format
src/runcore/subprof.c:857: warning: too many arguments for format
src/runcore/subprof.c:857: warning: unknown conversion type character 'l' in format
src/runcore/subprof.c:857: warning: too many arguments for format
src/runcore/subprof.c:949: warning: unknown conversion type character 'l' in format
src/runcore/subprof.c:949: warning: too many arguments for format
src/runcore/subprof.c:953: warning: unknown conversion type character 'l' in format
src/runcore/subprof.c:953: warning: too many arguments for format
src/packfile/api.c: In function 'Parrot_pf_tag_constant':
src/packfile/api.c:378: warning: switch missing default case
src/packfile/api.c: In function 'Parrot_pf_subs_by_tag':
src/packfile/api.c:443: warning: switch missing default case
src/packfile/pf_items.c: In function 'fetch_iv_be':
src/packfile/pf_items.c:1927: warning: integer constant is too large for 'long' type
src/packfile/pf_items.c:1928: warning: integer constant is too large for 'long' type
src/packfile/pf_items.c:1929: warning: integer constant is too large for 'long' type
src/packfile/pf_items.c:1930: warning: integer constant is too large for 'long' type
src/packfile/pf_items.c: In function 'fetch_op_be':
src/packfile/pf_items.c:1969: warning: integer constant is too large for 'long' type
src/packfile/pf_items.c:1970: warning: integer constant is too large for 'long' type
src/packfile/pf_items.c:1971: warning: integer constant is too large for 'long' type
src/packfile/pf_items.c:1972: warning: integer constant is too large for 'long' type
src/platform/win32/file.c: In function 'Parrot_file_readdir':
src/platform/win32/file.c:854: warning: assignment discards qualifiers from pointer target type
src/platform/win32/exec.c: In function 'Parrot_Run_OS_Command':
src/platform/win32/exec.c:50: warning: passing argument 2 of 'Parrot_getenv' discards qualifiers from pointer target type
./include/parrot/platform_interface.h:328: note: expected 'struct STRING *' but argument is of type 'const struct STRING *'
src/platform/win32/entropy.c: In function 'Parrot_get_entropy':
src/platform/win32/entropy.c:54: warning: passing argument 3 of 'CryptGenRandom' from incompatible pointer type
d:\dev\strawberry-perl\c\bin\../lib/gcc/x86_64-w64-mingw32/4.4.7/../../../../x86_64-w64-mingw32/include/wincrypt.h:669: note: expected 'BYTE *' but argument is of type 'INTVAL *'
src/pmc/filehandle.c: In function 'Parrot_FileHandle_nci_handle':
src/pmc/filehandle.c:973: warning: assignment makes integer from pointer without a cast
src/pmc/packfileannotation.c: In function 'Parrot_PackfileAnnotation_nci_get_pmc_value':
src/pmc/packfileannotation.c:288: warning: cast discards qualifiers from pointer target type
src/pmc/packfileannotation.c: In function 'Parrot_PackfileAnnotation_nci_get_type':
src/pmc/packfileannotation.c:357: warning: switch missing default case
src/string/encoding/shared.c: In function 'convert_case_buf':
src/string/encoding/shared.c:1445: warning: signed and unsigned type in conditional expression
src/string/encoding/shared.c:1450: warning: signed and unsigned type in conditional expression
compilers/imcc/imcparser.c: In function 'yysyntax_error':
compilers/imcc/imcparser.c:2840: warning: switch missing default case
compilers/imcc/imcc.l:1288: warning: no previous prototype for 'determine_input_file_type'
compilers/imcc/symreg.c: In function 'symreg_to_str':
compilers/imcc/symreg.c:284: warning: unknown conversion type character 'l' in format
compilers/imcc/symreg.c:284: warning: too many arguments for format
compilers/imcc/debug.c: In function 'dump_symreg':
compilers/imcc/debug.c:447: warning: format '%lx' expects type 'long unsigned int', but argument 14 has type 'long long unsigned int'
src/dynpmc/gziphandle.c: In function 'Parrot_GzipHandle_nci_compress':
src/dynpmc/gziphandle.c:495: warning: passing argument 2 of 'compress' from incompatible pointer type
d:\dev\strawberry-perl\c\bin\../lib/gcc/x86_64-w64-mingw32/4.4.7/../../../../include/zlib.h:1102: note: expected 'uLongf *' but argument is of type 'UINTVAL *'
src/dynpmc/gziphandle.c: In function 'Parrot_GzipHandle_nci_uncompress':
src/dynpmc/gziphandle.c:583: warning: passing argument 2 of 'uncompress' from incompatible pointer type
d:\dev\strawberry-perl\c\bin\../lib/gcc/x86_64-w64-mingw32/4.4.7/../../../../include/zlib.h:1139: note: expected 'uLongf *' but argument is of type 'UINTVAL *'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment