Re: assert() missing in flex

2019-09-16 Thread Michael Mikonos
On Mon, Sep 16, 2019 at 11:38:30AM +0200, Marc Espie wrote: > On Mon, Sep 16, 2019 at 05:07:21PM +0800, Michael Mikonos wrote: > > Hello, > > > > When building flex on clang 8.0.1 (i386) I noticed that assert() > > expands to nothing. This happens because of a fallback declaration > > of assert()

Re: assert() missing in flex

2019-09-16 Thread Marc Espie
On Mon, Sep 16, 2019 at 05:07:21PM +0800, Michael Mikonos wrote: > Hello, > > When building flex on clang 8.0.1 (i386) I noticed that assert() > expands to nothing. This happens because of a fallback declaration > of assert() in flexdef.h when HAVE_ASSERT_H is not set. Instead of > changing flexde

assert() missing in flex

2019-09-16 Thread Michael Mikonos
Hello, When building flex on clang 8.0.1 (i386) I noticed that assert() expands to nothing. This happens because of a fallback declaration of assert() in flexdef.h when HAVE_ASSERT_H is not set. Instead of changing flexdef.h the following patch follows the existing pattern in Makefile of adding -D