Jump to content
OMRON Forums

Errors slip through


daves
 Share

Recommended Posts

This has been mentioned in other posts but it is becoming a serious problem. I have a background c program including an h file with errors in it. The build and download process shoots through but the program compile fails and so is not downloaded. The only clue this has happened is a warning message way up the output which can easily be overlooked:

 

...

	Build Process For robotsystem.out has started.
C:\ABD\PowerPMAC\Robot\Robots\C Language\Background Programs\robotsystem\robotsystem.c(15,0): Warning : in file included from  robotsystem.c
	Build Process For robotsystem.out has ended.

...

Download Successful.
Total Project Download time = 14.025 sec
Total Project Build and Download time = 30.155 sec

 

in the err.log file you get:

 

In file included from robotsystem.c:15:
_sys_build.h: In function 'GetRobotBuildLEFromMemory':
_sys_build.h:11: error: 'SR15Orbit_type' undeclared (first use in this function)
_sys_build.h:11: error: (Each undeclared identifier is reported only once
_sys_build.h:11: error: for each function it appears in.)
_sys_build.h: In function 'SetRobotBuildLEToMemory':
_sys_build.h:79: error: 'SR15Orbit_type' undeclared (first use in this function)
_sys_build.h:81: error: lvalue required as left operand of assignment
_sys_build.h: In function '_ReadBuildLEBinary':
_sys_build.h:306: error: storage size of 'buildLE' isn't known
_sys_build.h: In function '_WriteBuildLEBinary':
_sys_build.h:440: error: storage size of 'buildLE' isn't known
make: *** [robotsystem.o] Error 1

 

The parsing of these err.log files to the output window (and it seems also the final SUCCESS/FAIL detection method) is flawed.

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...