Mon Oct 18, 2021 7:10 am
Login Register Lost Password? Contact Us


compiler errors

Comments and questions related to the Enterprise Control Language

Wed Sep 14, 2011 8:20 pm Change Time Zone

Hello,
Is there a reference for the different error messages that the compiler generates?
Or, which file(s) can I look at in the source code to find out?

Thank you,
Todd
thildebrant
 
Posts: 18
Joined: Mon Apr 11, 2011 4:39 pm

Thu Sep 15, 2011 8:08 am Change Time Zone

The error codes, and most of the error messages are contained in two files:

ecl/hql/hqlerrors.hpp - errors generated parsing the files/syntax checking

ecl/hqlcpp/hqlcerrors.hpp - errors reported when processing and generating the c++
ghalliday
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 198
Joined: Wed May 18, 2011 9:48 am

Thu Sep 15, 2011 3:20 pm Change Time Zone

good stuff, thank you.
Are there similar references to the Thor and Roxie errors?
thildebrant
 
Posts: 18
Joined: Mon Apr 11, 2011 4:39 pm

Fri Sep 16, 2011 4:51 pm Change Time Zone

It looks like

thorlcr/shared/thexception.hpp contains the error numbers for thor

roxie/roxie/roxie.hpp contains the numbers for roxie

system/include/errorlist.h contains the ranges of numbers reserved for each component.
ghalliday
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 198
Joined: Wed May 18, 2011 9:48 am

Fri Sep 16, 2011 6:04 pm Change Time Zone

Gavin,
Thank you, that really helps.

Todd
thildebrant
 
Posts: 18
Joined: Mon Apr 11, 2011 4:39 pm


Return to ECL

Who is online

Users browsing this forum: No registered users and 1 guest

cron