[Ur] Bug Report

James Parker jp at jamesparker.me
Fri Dec 16 23:07:11 EST 2011


Hi

I believe I have found a bug. Here is the error message:

$ urweb umdtalks -debug
gcc  -pthread -Wimplicit -Werror -Wno-unused-value -I /usr/local/include/urweb  -c /tmp/webapp.c -o /tmp/webapp.o -g
cc1: warnings being treated as errors
/tmp/webapp.c: In function ‘uw_handle’:
/tmp/webapp.c:2187: error: initialization from incompatible pointer type

The code is available at:

https://github.com/jprider63/UMDTalks

The errors seem to go away if I change the first parameter from inputError to (). Relevant lines are umdtalks.ur:312,318,343. If needed, I can try to generate a minimal example once finals are over.

JP


More information about the Ur mailing list