My guess is that we are not seting "-Wall" for all warnings. I think it is a VERY good idea...
Sent from my Galaxy S®III -------- Original message -------- From: Anders Wallin <anders.e.e.wal...@gmail.com> Date: To: EMC developers <emc-developers@lists.sourceforge.net> Subject: [Emc-developers] int = unsigned int assignment in src/hal/components/sampler_usr.c I was reading sampler_usr.c and noticed on line 235 and 236 int tmpout and int newout are assigned a value from fifo->out which is of type unsigned int. why doesn't the compiler warn about this? could this cause trouble, since an unsigned int can hold larger values than an int? Or could the ->in and ->out members of the fifo_t struct just as well be int, since a fifo that is deeper than the largest int is unlikely? AW ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers