Menu

EOF compiler error

Help
Esteban
2003-12-29
2004-07-27
  • Esteban

    Esteban - 2003-12-29

    I'm using the controls in c++ bulder 6. When I try to compile a project I get a "Declaration terminated incorrectly" error in the line where the property EOF is defined in the cadodb.hpp file. If I rewrite to _EOF for example, the error goes away, but I'm not sure what could happen later by making this change.

     
    • PaulB

      PaulB - 2004-07-27

      I use BCB5 Enterprise with the same problem. I renamed EOF to Eof and then it worked, the same in adoint.hpp:
      #pragma option pop
      __property Word Eof = {read=_scw_Get_EOF};

      It seems that the Pascal compiler produces bad hpp code.

       

Log in to post a comment.