Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
2508 posts
|
I'm amazed to not find the IMPORT/EXPORT directives in sqVirtualMachine.h IMO, the right solution is already sketched in minheadless:
The relevant section is:
then we would just have to declare — |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
2508 posts
|
If sqConfig.h WANTS to #define fseek/ftell as fseeko and ftello, then it just has to first #include <stdio.h>. Then any other .c including first "sqConfig.h", then <stdio.h> should just work. — |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
2508 posts
|
In reply to this post by David T Lewis
Problem is that stdio might include features.h — |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
2508 posts
|
In reply to this post by David T Lewis
and sqConfig should no define fseek/ftell. — |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
2508 posts
|
In reply to this post by David T Lewis
Agree — |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
2508 posts
|
In reply to this post by David T Lewis
I've tried adding EXPORT/IMPORT declarations in sqVirtualMachine.h, but it's not such a good idea
I've sketched a lightweight solution in branch https://github.com/OpenSmalltalk/opensmalltalk-vm/tree/fix_include_order. — |
Free forum by Nabble | Edit this page |