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

grok compile warning #121

Open
czanik opened this issue Jan 26, 2015 · 0 comments
Open

grok compile warning #121

czanik opened this issue Jan 26, 2015 · 0 comments

Comments

@czanik
Copy link
Member

czanik commented Jan 26, 2015

After compiling incubator with grok support on openSUSE, I get the following error message from post build checks (which fails the package building process):

[   23s] E: syslog-ng-incubator 64bit-portability-issue modules/grok/grok-parser-grammar.y:400

The offending messages from the build logs are:

[   19s]   CC       modules/grok/modules_grok_libgrok_parser_la-grok-parser-grammar.lo
[   19s] modules/grok/grok-parser-grammar.y: In function 'grok_parse':
[   19s] modules/grok/grok-parser-grammar.y:400:5: warning: implicit declaration of function 'grok_instance_new' [-Wimplicit-function-declaration]
[   19s]          : KW_GROK_MATCH { last_grok_instance = grok_instance_new(); }  '(' string grok_instance_options ')' { grok_instance_set_pattern(last_grok_instance, $4); free($4); }
[   19s]      ^
[   19s] modules/grok/grok-parser-grammar.y:400:26: warning: assignment makes pointer from integer without a cast [enabled by default]
[   19s]          : KW_GROK_MATCH { last_grok_instance = grok_instance_new(); }  '(' string grok_instance_options ')' { grok_instance_set_pattern(last_grok_instance, $4); free($4); }
[   19s]                           ^
[   19s]   CC       modules/grok/modules_grok_libgrok_parser_la-grok-parser.lo
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