Skip to content

Instantly share code, notes, and snippets.

@guyzmo
Created February 9, 2017 13:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guyzmo/1fe2c68849fb4593ed4ee10af015a76d to your computer and use it in GitHub Desktop.
Save guyzmo/1fe2c68849fb4593ed4ee10af015a76d to your computer and use it in GitHub Desktop.
neomutt: regex.c warnings
../regex.c: In function ‘re_compile_fastmap’:
../regex.c:1183:26: warning: assignment from incompatible pointer type [-Wincompatible-poi
nter-types]
: ((fail_stack).stack = \
^
../regex.c:1199:9: note: in expansion of macro ‘DOUBLE_FAIL_STACK’
&& !DOUBLE_FAIL_STACK (FAIL_STACK)) \
^~~~~~~~~~~~~~~~~
../regex.c:3341:20: note: in expansion of macro ‘PUSH_PATTERN_OP’
if (!PUSH_PATTERN_OP (p + j, fail_stack))
^~~~~~~~~~~~~~~
../regex.c: In function ‘re_match_2_internal’:
../regex.c:1183:26: warning: assignment from incompatible pointer type [-Wincompatible-poi
nter-types]
: ((fail_stack).stack = \
^
../regex.c:1269:14: note: in expansion of macro ‘DOUBLE_FAIL_STACK’
if (!DOUBLE_FAIL_STACK (fail_stack)) \
^~~~~~~~~~~~~~~~~
../regex.c:4439:19: note: in expansion of macro ‘PUSH_FAILURE_POINT’
PUSH_FAILURE_POINT (p1 + mcnt, d, -2);
^~~~~~~~~~~~~~~~~~
../regex.c:1183:26: warning: assignment from incompatible pointer type [-Wincompatible-poi
nter-types]
: ((fail_stack).stack = \
^
../regex.c:1269:14: note: in expansion of macro ‘DOUBLE_FAIL_STACK’
if (!DOUBLE_FAIL_STACK (fail_stack)) \
^~~~~~~~~~~~~~~~~
../regex.c:4593:11: note: in expansion of macro ‘PUSH_FAILURE_POINT’
PUSH_FAILURE_POINT (p + mcnt, NULL, -2);
^~~~~~~~~~~~~~~~~~
../regex.c:1183:26: warning: assignment from incompatible pointer type [-Wincompatible-poi
nter-types]
: ((fail_stack).stack = \
^
../regex.c:1269:14: note: in expansion of macro ‘DOUBLE_FAIL_STACK’
if (!DOUBLE_FAIL_STACK (fail_stack)) \
^~~~~~~~~~~~~~~~~
../regex.c:4650:11: note: in expansion of macro ‘PUSH_FAILURE_POINT’
PUSH_FAILURE_POINT (p + mcnt, d, -2);
^~~~~~~~~~~~~~~~~~
../regex.c:1183:26: warning: assignment from incompatible pointer type [-Wincompatible-poi
nter-types]
: ((fail_stack).stack = \
^
../regex.c:1269:14: note: in expansion of macro ‘DOUBLE_FAIL_STACK’
if (!DOUBLE_FAIL_STACK (fail_stack)) \
^~~~~~~~~~~~~~~~~
../regex.c:4872:11: note: in expansion of macro ‘PUSH_FAILURE_POINT’
PUSH_FAILURE_POINT (0, 0, -2);
^~~~~~~~~~~~~~~~~~
../regex.c:1183:26: warning: assignment from incompatible pointer type [-Wincompatible-poi
nter-types]
: ((fail_stack).stack = \
^
../regex.c:1269:14: note: in expansion of macro ‘DOUBLE_FAIL_STACK’
if (!DOUBLE_FAIL_STACK (fail_stack)) \
^~~~~~~~~~~~~~~~~
../regex.c:4885:11: note: in expansion of macro ‘PUSH_FAILURE_POINT’
PUSH_FAILURE_POINT (0, 0, -2);
^~~~~~~~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment