Hi list, hi Burkhard!
 
I�m still at my precompiler-problem, but i think it�s a pointer problem in my source. The mystery is, that when my where-string would return less than 36 rows, i get a "segmentation fault" else it runs fine returning all claimed rows.
 
Another difficulty, I �d like to clear:
In my project, I have something like this:
 
#ifndef SQL_PRECOMPILE
   char my_var[4];
#else
  EXEC SQL BEGIN DECLARE SECTION;
    char my_var[4];
  EXEC SQL END DECLARE SECTION;
#endif
 
How can I start the Precompiler with a def-variable? In `cpc -h` and the documentation I couldn�t find anything.
Other programs can be started like `prog -DSQL_PRECOMPILE`.  Any hints?
And how can i start the precompiler using some includepaths?
 

Reply via email to