#linuxcnc-devel Logs
Nov 04 2018
#linuxcnc-devel Calendar
11:30 AM jepler: well this is baffling
11:33 AM jepler: emcTaskPlanCommand((char *) &emcStatus->task.
11:33 AM jepler: command);
11:33 AM jepler: int emcTaskPlanCommand(char *cmd)
11:33 AM jepler: strcpy(cmd, interp.command(buf, LINELEN));
11:33 AM jepler: as far as I can tell, the types involved are totally wrong, but the (char*) cast hides it
11:37 AM jepler: but after removing the cast, the error message is still confusing me
11:37 AM jepler: emc/task/emctaskmain.cc|535 col 20| error: cannot convert ‘char (*)[255]’ to ‘char*’ for argument ‘1’ to ‘int emcTaskPlanCommand(char*)'
11:38 AM jepler: but I expect the type of that expression to be EMC_TASK_STAT*, not
11:38 AM jepler: cdecl> explain char(*x)[255]
11:38 AM jepler: declare x as pointer to array 255 of char
11:39 AM jepler: ooohhhh tricked by indentation
11:40 AM jepler: now all is clear :-/
11:40 AM jepler: I read the "." as a "," just due to how the code was laid out
01:24 PM linuxcnc-build: build #3833 of 1403.rip-wheezy-amd64 is complete: Failure [4failed compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1403.rip-wheezy-amd64/builds/3833 blamelist: Jeff Epler <jepler@unpythonic.net>, Jeff Epler <jepler@gmail.com>
02:38 PM linuxcnc-build: build #5693 of 0000.checkin is complete: Failure [4failed] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/5693 blamelist: Jeff Epler <jepler@unpythonic.net>, Jeff Epler <jepler@gmail.com>