#emc-devel | Logs for 2010-09-27

Back
[01:59:58] <jepler> sigh, and now I've gone looking for printf-format bugs. god help me.
[02:23:52] <SWPadnos_> SWPadnos_ is now known as SWPadnos
[02:41:57] <jepler> there are only hundreds of format-string warnings now
[02:49:46] <CIA-5> EMC: 03jepler 07master * r7c72911256d7 10/src/emc/rs274ngc/rs274ngc_pre.cc: axis: fix rs274 bug that led to crash in touch off
[02:49:47] <CIA-5> EMC: 03jepler 07master * r718b356d6f39 10/src/emc/rs274ngc/rs274ngc_pre.cc: Merge remote branch 'origin/v2.4_branch'
[02:49:47] <CIA-5> EMC: 03jepler 07master * r4c3a299540fb 10/src/ (9 files in 8 dirs): tell gcc which functions are like printf
[02:49:51] <CIA-5> EMC: 03jepler 07master * rd3499cc49d80 10/src/ (28 files in 10 dirs): fix format-string errors that gcc now warns about
[02:49:51] <CIA-5> EMC: 03jepler 07master * r74165293518f 10/src/emc/motion/dbuf.c: quiet a "used unitialized" warning
[02:49:54] <CIA-5> EMC: 03jepler 07master * radb359b15ecb 10/src/emc/rs274ngc/gcodemodule.cc: remove unused function
[02:49:58] <CIA-5> EMC: 03jepler 07master * r514a9bccd706 10/src/emc/usr_intf/axis/extensions/emcmodule.cc: Fix T_BOOL redefinition warning
[06:59:40] <alex_joni> jepler: I wonder why it's sometimes __attribute and sometimes __attribute__ ?
[06:59:44] <alex_joni> +extern void reportError(const char *fmt, ...) __attribute((format(printf,1,2))); /* Use the rtapi_print call */
[06:59:50] <alex_joni> +extern int emcOperatorError(int id, const char *fmt, ...) __attribute__((format(printf,2,3)));
[07:41:31] <psha> alex_joni: gcc allows both forms for unknown reasons... maybe for easy "disabling" some attributes with #define __attribute(x) \n
[07:48:21] <alex_joni> psha: ok
[07:49:01] <psha> alex_joni: also I've sometimes seen such things in cross-platform projects which is not your case :)
[07:52:18] <alex_joni> not anymore ;)
[07:53:03] <psha> wow, any chances to see Windows 95 port of EMC?!
[07:53:15] <psha> :)
[07:53:16] <Jymmm> HAHAHAHAHA
[07:53:40] <Jymmm> alex_joni will port emc to w98
[07:56:21] <psha> bb
[07:59:35] <alex_joni> http://uploads.robcon.ro/emc_running_win_xp.JPG
[07:59:40] <alex_joni> Jymmm: ^^
[08:00:32] <alex_joni> that's from 2004 or so
[08:00:35] <Jymmm> alex_joni: what the hell?
[08:00:42] <Jymmm> alex_joni: remote?
[08:01:39] <Jymmm> alex_joni: I'm outta here, tlak at ya later
[08:04:56] <alex_joni> Jymmm: that was native, but sim
[13:55:30] <Jymmm> alex_joni: Ah, ok.
[17:34:26] <JT-Work_> JT-Work_ is now known as JT-Work