1. error Euphoria 4.0.5

Why am I getting this error message?

C:\001TelNet\telnet_client.exw:206 
<0074>:: Errors resolving the following references: 
	'sprint' (telnet.e:186) has been declared more than once. 
		in C:/Euphoria/include/misc.e 
		in C:/Euphoria/include/std/text.e 
	'chdir' (telnet_client.exw:201) has been declared more than once. 
		in C:/Euphoria/include/file.e 
		in C:/Euphoria/include/std/filesys.e 
	'current_dir' (telnet_client.exw:202) has been declared more than once. 
		in C:/Euphoria/include/file.e 
		in C:/Euphoria/include/std/filesys.e 
	'crash_file' (telnet_client.exw:205) has been declared more than once. 
		in C:/Euphoria/include/machine.e 
		in C:/Euphoria/include/std/error.e 
	'crash_routine' (telnet_client.exw:206) has been declared more than once. 
		in C:/Euphoria/include/machine.e 
		in C:/Euphoria/include/std/error.e 
 
  crash_routine(routine_id("crash")) 
               ^ 
 
 
--- Defined Words --- 
EU4 
EU4_0 
EU4_0_5 
WINDOWS 
WIN32 
GUI 
EUI 
------------------- 

new topic     » topic index » view message » categorize

2. Re: error Euphoria 4.0.5

It appears that you are including telnet.e twice or have a duplicate function name somewhere in your code.

new topic     » goto parent     » topic index » view message » categorize

3. Re: error Euphoria 4.0.5

BRyan said...

It appears that you are including telnet.e twice or have a duplicate function name somewhere in your code.

I installed Eu4.0.5 today.
In that installation there are folders "C:\include\machine.e" and "c:\include\std\ERROR.E"
Both folders have the following lines:

public procedure crash_routine (integer func) 
machine_proc (M_CRASH_ROUTINE, func) 
end procedure 

These two folders were created by the installation of Euphoria 4.0.5, so I believe I should keep this assembly.
But that is causing the error I posted before.
I think maybe I can resolve this problem by deleting the lines in duplicate, but I do not understand why administrators do not fix this error

new topic     » goto parent     » topic index » view message » categorize

4. Re: error Euphoria 4.0.5

sergelli said...

I installed Eu4.0.5 today.
In that installation there are folders "C:\include\machine.e" and "c:\include\std\ERROR.E"
Both folders have the following lines:

public procedure crash_routine (integer func) 
machine_proc (M_CRASH_ROUTINE, func) 
end procedure 

These two folders were created by the installation of Euphoria 4.0.5, so I believe I should keep this assembly.
But that is causing the error I posted before.
I think maybe I can resolve this problem by deleting the lines in duplicate, but I do not understand why administrators do not fix this error

you really shouldn't mix the older compatibility includes like misc.e with the newer std/includes in new programs is the short answer. it's worth going through and finding which include you need searching the docs. programs load faster.

new topic     » goto parent     » topic index » view message » categorize

5. Re: error Euphoria 4.0.5

In Euphoria 4.2al, I plan to eliminate this problem. There is no reason the ./ dot e files shouldn't only contain public include statements.

Shawn

new topic     » goto parent     » topic index » view message » categorize

6. Re: error Euphoria 4.0.5

I use to archive all .e file in euphoria/include in a zip file then delete them.

Then you have to replace all ancient style includes by new ones in old libraries you use. Beware if you use win32lib which relies on ancient style includes.

Regards

Jean-Marc

new topic     » goto parent     » topic index » view message » categorize

7. Re: error Euphoria 4.0.5

Now I understood how the include folder works with the EU4

Thanks to all

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu