Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails with syntax error #263

Closed
blacklight opened this issue Sep 18, 2024 · 1 comment
Closed

Build fails with syntax error #263

blacklight opened this issue Sep 18, 2024 · 1 comment

Comments

@blacklight
Copy link

Tested on three machines - two with Arch Linux and one with Manjaro.

Erlang version: 27.0.1.

===> Compiling src/mochiweb_multipart.erl failed
src/mochiweb_multipart.erl:278:13: syntax error before: ','
src/mochiweb_multipart.erl:331:9: syntax error before: ','

src/mochiweb_multipart.erl:186:5: function feed_mp/2 undefined

src/mochiweb_multipart.erl:191:1: Warning: function parse_headers/1 is unused
src/mochiweb_multipart.erl:194:1: Warning: function parse_headers/2 is unused
src/mochiweb_multipart.erl:202:1: Warning: function split_header/1 is unused
src/mochiweb_multipart.erl:217:1: Warning: function read_more/1 is unused
src/mochiweb_multipart.erl:300:1: Warning: function find_in_binary/2 is unused
src/mochiweb_multipart.erl:312:1: Warning: function partial_find/4 is unused
@etrepum
Copy link
Member

etrepum commented Sep 18, 2024

I suspect you are using an old version (<3.2.2) that does not quote the 'maybe' atom, see also #262

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants