Menu

#935 Embedded web server fails to compile on 32 bit architectures

stable
closed-fixed
nobody
mongoose (1)
5
2019-11-08
2019-10-29
Hoshpak
No

Compiling smplayer on a 32 bit processor architecture like i686 or armv6 currently fails with the following error:

In function 'mg_uri_to_local_path',
inlined from 'mg_serve_http' at mongoose.c:8068:7:
mongoose.c:530:53: error: '%.*s' directive argument is null [-Werror=format-overflow=]
530 | if (cs_log_print_prefix(l, func, FILE)) cs_log_printf x; \
| ^~~~~~~~~~~~~~~~~~
531 | } while (0)

Tested with both version 19.5.0 and 19.10.0 on Void Linux with gcc 9.2.0.

Discussion

  • Ricardo Villalba

    I think this is fixed in svn r9240.

     
  • Ricardo Villalba

    • status: open --> closed-fixed
     

Log in to post a comment.