- 论坛徽章:
- 0
|
回复 2楼 wenlq 的帖子
The ESQL/C acutally is a pre-compiler. When we compile an ESQL/C program, ESQL/C will replace the SQL in .ec into related c function call, a interim .c file will be created, then pass the .c file to OS compiler CC, and CC will continue compile the .c file created by EQL/C compiler and link all related Informix lib to create the final executable. So, the macro "__LINE__" and "__FILE__" will be the file and line# of .c file, sometime it maybe not accurate mapping to .ec file line#. If you compile .ec program and keep the interim .c file, you will find the detail. |
|