AtomBuild / atom-build-make

GNU Make plugin for atom-build
MIT License
13 stars 19 forks source link

Strange Error Matching failure #43

Open fightling opened 4 years ago

fightling commented 4 years ago

I get this confusing popup message when I hit F9 to build my Makefile (gcc) without using a custom atom-build.* file:

Error matching failed!
Matched file does not exist: /home/pat/git/snmp/                 
from src/core/memp.c

The match applies to the following output:

/usr/bin/gcc -Wall -g -fmax-errors=1 -D_REENTRANT -DVERSION=\"0.9\" -Isrc/include -c src/core/memp.c
In file included from src/include/lwip/debug.h:40:0,
                 from src/include/lwip/opt.h:52,
                 from src/core/memp.c:46:
src/include/lwip/priv/memp_std.h:72:63: error: invalid application of ‘sizeof’ to incomplete type ‘struct tcpip_msg’
 LWIP_MEMPOOL(TCPIP_MSG_API,  MEMP_NUM_TCPIP_MSG_API,   sizeof(struct tcpip_msg),      "TCPIP_MSG_API")

I think I found the responsible regex (https://regexr.com/51m6v) in make.js:30 in but I got no progress nor any effect when trying to fix it. Sadly I'm not a atom/JS pro :/