Discussion:
fatal error
(too old to reply)
george
2008-07-06 18:43:53 UTC
Permalink
[C++ Fatal Error] sysmac.h(8): F1003 Error directive: Do not include this file directly. Include 'system.hpp'.

Help! What can I have done wrong to generate this error message?

I am sorry if this is an inappropriate newsgroup; any alternative

suggestions will be gratefully received.

George
Ed Mulroy [TeamB]
2008-07-06 19:45:59 UTC
Permalink
Try including vcl.h instead

. Ed
Post by george
[C++ Fatal Error] sysmac.h(8): F1003 Error directive: Do not include
this file directly. Include 'system.hpp'.
Help! What can I have done wrong to generate this error message?
I am sorry if this is an inappropriate newsgroup; any alternative
suggestions will be gratefully received.
george
2008-07-07 08:27:35 UTC
Permalink
Many thanks, but vcl.h is what the system included for me
anyway. I am desperately trying to
find a direct, or indirect, reference to sysmac.h. It all was
working well, for months, until I a)went on holiday
b) allowed someone to try to speed up my machine by removing
viruses etc.

George
Post by Ed Mulroy [TeamB]
Try including vcl.h instead
. Ed
Post by george
[C++ Fatal Error] sysmac.h(8): F1003 Error directive: Do not include
this file directly. Include 'system.hpp'.
Help! What can I have done wrong to generate this error message?
I am sorry if this is an inappropriate newsgroup; any alternative
suggestions will be gratefully received.
geotge
2008-07-09 15:20:17 UTC
Permalink
By trial and error I have discovered that deleting or
reordering the line #include<dstring.h> fixes the problem.
Now I am wondering why I included dstring in the first place.
It still seems to compile when I delete it altogether.
This line is also included in the other 4 units. Is that necessary?

George
Post by Ed Mulroy [TeamB]
Try including vcl.h instead
. Ed
Post by george
[C++ Fatal Error] sysmac.h(8): F1003 Error directive: Do not include
this file directly. Include 'system.hpp'.
Help! What can I have done wrong to generate this error message?
I am sorry if this is an inappropriate newsgroup; any alternative
suggestions will be gratefully received.
Ed Mulroy [TeamB]
2008-07-09 17:28:33 UTC
Permalink
dstring.h is brought in by including vcl.h You should not need to include
it if vcl.h is included. Delete the include or comment it out.

. Ed
Post by geotge
By trial and error I have discovered that deleting or
reordering the line #include<dstring.h> fixes the problem.
Now I am wondering why I included dstring in the first place.
It still seems to compile when I delete it altogether.
This line is also included in the other 4 units. Is that
necessary?
Loading...