From: Cyrill G. <gor...@gm...> - 2018-02-28 06:10:08
|
On Fri, Feb 16, 2018 at 10:40:21AM +0300, Cyrill Gorcunov wrote: > On Thu, Feb 15, 2018 at 12:09:17AM -0600, Andy Willis wrote: > > I receive the following error building latest trunk: > > ./include/ilog2.h:84:30: error: no previous declaration for 'ilog2_32' > > [-Werror= > > missing-declarations] > > extern_inline int const_func ilog2_32(uint32_t v) > > I'll take a look on the weekend. Thanks for report, Andy! Andy, could you please try the following change? I don't have any of OS/2 compilers to test myself. --- diff --git a/Mkfiles/openwcom.mak b/Mkfiles/openwcom.mak index 9acb50a9..1647ba18 100644 --- a/Mkfiles/openwcom.mak +++ b/Mkfiles/openwcom.mak @@ -136,7 +136,7 @@ NASMLIB = nasm.lib nasm$(X): $(NASM) $(NASMLIB) $(LD) $(LDFLAGS) name nasm$(X) libr {$(NASMLIB) $(LIBS)} file {$(NASM)} -ndisasm$(X): $(NDISASM) $(LIBOBJ) +ndisasm$(X): $(NDISASM) $(NASMLIB) $(LD) $(LDFLAGS) name ndisasm$(X) libr {$(NASMLIB) $(LIBS)} file {$(NDISASM)} nasm.lib: $(LIBOBJ) |