Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting json compile warnings in when compiling with mingw64 #9

Open
robe2 opened this issue Dec 28, 2014 · 0 comments
Open

Getting json compile warnings in when compiling with mingw64 #9

robe2 opened this issue Dec 28, 2014 · 0 comments

Comments

@robe2
Copy link
Contributor

robe2 commented Dec 28, 2014

I don't recall getting these warnings last time I compiled www_fdw, but I might have. The dlls compile and load and seem to work, so not sure if I should worry about these or not. This is compiling against PostgreSQL 9.4, though I doubt that matters.

static void www_explain_foreign_scan(ForeignScanState *node, ExplainState *es);
             ^
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g  -I/p
clude/libxml2 -I/usr/include/libxml2 -I. -I./ -Ic:/MING32~2/projects/POSTGR~1/rel/PG9~1.4W3/include/server -Ic:/MING32~2/projects/POSTGR~1/rel/PG9~1.4W3/include/internal -I.  -I/projects/curl/rel-curl-7.39.
2/projects/POSTGR~1/rel/PG9~1.4W3/lib/pgxs/src/MAKEFI~1/../../src/include/port/win32" -Ic:/MING32~2/projects/POSTGR~1/rel/PG9~1.4W3/include/server/port/win32  -c -o libjson-0.8/json.o libjson-0.8/json.c
libjson-0.8/json.c:459:5: warning: no previous prototype for 'act_uc' [-Wmissing-prototypes]
 int act_uc(json_parser *parser)
     ^
libjson-0.8/json.c:467:5: warning: no previous prototype for 'act_yb' [-Wmissing-prototypes]
 int act_yb(json_parser *parser)
     ^
libjson-0.8/json.c:475:5: warning: no previous prototype for 'act_cb' [-Wmissing-prototypes]
 int act_cb(json_parser *parser)
     ^
libjson-0.8/json.c:483:5: warning: no previous prototype for 'act_ce' [-Wmissing-prototypes]
 int act_ce(json_parser *parser)
     ^
libjson-0.8/json.c:489:5: warning: no previous prototype for 'act_ob' [-Wmissing-prototypes]
 int act_ob(json_parser *parser)
     ^
libjson-0.8/json.c:498:5: warning: no previous prototype for 'act_oe' [-Wmissing-prototypes]
 int act_oe(json_parser *parser)
     ^
libjson-0.8/json.c:507:5: warning: no previous prototype for 'act_ab' [-Wmissing-prototypes]
 int act_ab(json_parser *parser)
     ^
libjson-0.8/json.c:514:5: warning: no previous prototype for 'act_ae' [-Wmissing-prototypes]
 int act_ae(json_parser *parser)
     ^
libjson-0.8/json.c:522:5: warning: no previous prototype for 'act_se' [-Wmissing-prototypes]
 int act_se(json_parser *parser)
     ^
libjson-0.8/json.c:532:5: warning: no previous prototype for 'act_sp' [-Wmissing-prototypes]
 int act_sp(json_parser *parser)
     ^
libjson-0.8/json.c:764:5: warning: no previous prototype for 'json_print_mode' [-Wmissing-prototypes]
 int json_print_mode(json_printer *printer, int type, const char *data, uint32_t length, int pretty)
     ^
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g   -sh
son-0.8/json.o -Lc:/MING32~2/projects/POSTGR~1/rel/PG9~1.4W3/lib -Wl,--allow-multiple-definition  -Wl,--as-needed   -L/projects/curl/rel-curl-7.39.0w32gcc481/lib -L/projects/libxml/rel-libxml2-2.7.8w32gcc48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant