1. version 4 conflicts
- Posted by DonCole Aug 10, 2013
- 1767 views
I'm having trouble with version 4.
I'm using Edita to run the programs.
Under Edita's file extensions I run e:\euphoria-40b4\bin\eui.bat
@PATH=%PATH% E:\euphoria-40b4\bin @SET EUDIR=E:\euphoria-40b4 @SET EUINC=E:\eu\myincludeV4;e\eu\win32lib_0_70_20\include\win32lib.ew @echo on @set eudir @start /b E:\euphoria-40b4\bin\eui.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
When I run Bitmap10.eui I get file not found 'win32lib.ew'
When I change line 5 of Bitmap10.eui to 'include e:\eu\win32lib_0_70_20\include\win32lib.ew' I get e:\eu\win32lib_0_70_20\include\win32lib.ew:16225 <0023>:: A namespace qualifier is need to resolve 'sprint' because 'sprint' is declared as a global/public symbol in" E:\euphoria-40b4\include\misc.e E:\euphoria-40b4\include\std\text.e
I thought all these conflicts were resolved with win32lib_0_70_20.
Don Cole
2. Re: version 4 conflicts
- Posted by SDPringle Aug 11, 2013
- 1479 views
Use 'without direct_includes' in all places where you get this error.
Devs: suppose we rewrite the include/*.e files so they public include the symbols expected from std/*.e. Wouldn't this solve this problem better than needing to add this without statement?
Forked into: Has the developers forum de facto moved here?
3. Re: version 4 conflicts
- Posted by jimcbrown (admin) Aug 11, 2013
- 1424 views
Devs: suppose we rewrite the include/*.e files so they public include the symbols expected from std/*.e. Wouldn't this solve this problem better than needing to add this without statement?
It would fix this particular problem more elegantly, but open up a new can of worms - we'd need to find a way to selectively public include only the symbols desired, and avoid exporting any new 4.0+ symbol names. Otherwise, we might break compatibility with older code that makes use of those symbol names.
4. Re: version 4 conflicts
- Posted by petelomax Aug 11, 2013
- 1469 views
I'm having trouble with version 4.
I'm using Edita to run the programs.
Note: I'm not actually talking about either of those here, just one tiny thing I spotted:
eui.bat:
<snip>
@SET EUINC=E:\eu\myincludeV4;e\eu\win32lib_0_70_20\include\win32lib.ew
<snip>
I get file not found 'win32lib.ew'
I thought EUINC should be directories, looks like you've got a spurious ".ew" in that .bat file.
HTH, Pete
5. Re: version 4 conflicts
- Posted by DonCole Aug 13, 2013
- 1321 views
I'm having trouble with version 4.
I'm using Edita to run the programs.
Note: I'm not actually talking about either of those here, just one tiny thing I spotted:
eui.bat:
<snip>
@SET EUINC=E:\eu\myincludeV4;e\eu\win32lib_0_70_20\include\win32lib.ew
<snip>
I get file not found 'win32lib.ew'
I thought EUINC should be directories, looks like you've got a spurious ".ew" in that .bat file.
HTH, Pete
Thanks Pete.
I fixed that and most of the probems went away.
I found I could fix rest of the problems by putting
include std\dll.e include std\text.e
in the begining of any includes that were causing conflicts like
win32lib.ew
w32utils.e
w32resources.ew
w32winspool.ew
and many others.
Also Pete, I complained aboout this before,
Edita doesn't go to the place where the error occured as it does in Ver3.
Don Cole
6. Re: version 4 conflicts
- Posted by DonCole Aug 13, 2013
- 1309 views
Use 'without direct_includes' in all places where you get this error.
Devs: suppose we rewrite the include/*.e files so they public include the symbols expected from std/*.e. Wouldn't this solve this problem better than needing to add this without statement?
Forked into: Has the developers forum de facto moved here?
Hello DPringle,
Would 'in all places' be at the begining of the main program that I am running or the begining of the include file?
In any event I'm getting 'unknown with/without option 'direct_includes'
Don Cole
7. Re: version 4 conflicts
- Posted by ArthurCrump Aug 13, 2013
- 1356 views
Hello DPringle,
Would 'in all places' be at the begining of the main program that I am running or the begining of the include file?
In any event I'm getting 'unknown with/without option 'direct_includes'
Don Cole
The option is 'indirect_includes', not 'direct_includes'
Arthur Crump