Hello,

I tried to build m4-1.4.20 release with MSVC.

Build fails with the following diagnostic (from many files):

```
H:\releases\m4-1.4.20\src\builtin.c(1472): error C2065: 'OBSTACK_CPTR': 
undeclared identifier
H:\releases\m4-1.4.20\src\builtin.c(1472): error C2064: term does not evaluate 
to a function taking 0 arguments
```

It comes from gnulib's lib/obstack.h.in, line 593:

```
   (((_OBSTACK_CPTR) (h)->chunk < (OBSTACK_CPTR) (h)->temp.tempptr
```

where _OBSTACK_CPTR mistakenly referenced as OBSTACK_CPTR. Adding an underscore 
fixes the build error.

I also noticed that configure fails to locate/use installed libintl:

```
checking for GNU gettext in libc... no
checking for iconv... (cached) yes
checking for working iconv... (cached) yes
checking how to link with libiconv... -liconv
checking for GNU gettext in libintl... no
checking whether to use NLS... no
```

Please let me know if you are interested in result of `make check`.

- Kirill Makurin
  • Small typo res... Kirill Makurin
    • Re: Small... Eric Blake
      • Re: S... Kirill Makurin
      • Re: S... Paul Eggert
        • R... Eric Blake
          • ... Bruno Haible via Bug reports for the GNU m4 macro processor
        • R... Bruno Haible via Bug reports for the GNU m4 macro processor
      • Re: S... Bruno Haible via Bug reports for the GNU m4 macro processor
        • R... Bruno Haible via Bug reports for the GNU m4 macro processor

Reply via email to