> Hello, > > With introducing '-O2' and '-Wextra' in CFLAGS in uwsgiconfig.py some > warnings (treated as errors) 'variable âXâ might be clobbered by > âlongjmpâ or âvforkâ' are appeared in process of compiling uWSGI > with > uGreen support. Building log (with error) is attached. > > As I can see, error is generated nor by 'longjmp', neither by > 'vfork', but by 'getcontext'/'makecontext' functions. > > Should all listed variables be declared as 'volatile' or there is > another fix of problem?
Before using the 'volatile trick' i would like to check if there is the possibility of a race condition. If you need ugreen support ou can mark (for now) them as volatile. -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
