Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitad148c4

Browse files
committed
Suppress warnings on platforms where fprintf is a macro (eg, recent
Fedora). This was already done by somebody for the core flex files,but these contrib files seem to have been missed.
1 parentb562639 commitad148c4

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

‎contrib/cube/cubescan.l

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#defineYY_READ_BUF_SIZE16777216
1010

1111
/* Avoid exit() on fatal scanner errors (a bit ugly -- see yy_fatal_error)*/
12+
#undef fprintf
1213
#definefprintf(file, fmt, msg) ereport(ERROR, (errmsg_internal("%s", msg)))
1314

1415
/* Handles to the buffer that the lexer uses internally*/

‎contrib/seg/segscan.l

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#defineYY_READ_BUF_SIZE16777216
1010

1111
/* Avoid exit() on fatal scanner errors (a bit ugly -- see yy_fatal_error)*/
12+
#undef fprintf
1213
#definefprintf(file, fmt, msg) ereport(ERROR, (errmsg_internal("%s", msg)))
1314

1415
/* Handles to the buffer that the lexer uses internally*/

‎contrib/tsearch2/wordparser/parser.l

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include"common.h"
77

88
/* Avoid exit() on fatal scanner errors*/
9+
#undef fprintf
910
#definefprintf(file, fmt, msg) ts_error(ERROR, fmt, msg)
1011

1112
char *token =NULL;/* pointer to token*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp