1. Problem with Ver 4.1

I get 'sprint' has been declared more than once.

C:/Euphoria/include/misc.e
C:/Euphoria/include/std/text.e

Both I downloaded from the Euphoria-4.1.0-Windows-x86-57179171dbed.zip file.

Don Cole

new topic     » topic index » view message » categorize

2. Re: Problem with Ver 4.1

DonCole said...

I get 'sprint' has been declared more than once.

C:/Euphoria/include/misc.e
C:/Euphoria/include/std/text.e

Both I downloaded from the Euphoria-4.1.0-Windows-x86-57179171dbed.zip file.

Don Cole

Euphoria/include/are the 3.x compatibility includes

you really shouldn't mix those with the ones in Euphoria/include/std, though you can get around it here and there (not recomended) you can add namespace qualifiers for the 4.1 stdlib routines that are reusing the same name in different files if that happens

search:find_replace() 
regex:find_replace() 
 
text:sprint() 

which may not work for your program mixing in the 3.x includes, depending on how many other conflicts there are in the names.

It's too bad euphoria can't suggest which includes you need for a given program. you pretty much have to add and remove includes till there are no more errors.

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

3. Re: Problem with Ver 4.1

ne1uno said...
DonCole said...

I get 'sprint' has been declared more than once.

C:/Euphoria/include/misc.e
C:/Euphoria/include/std/text.e

Both I downloaded from the Euphoria-4.1.0-Windows-x86-57179171dbed.zip file.

Don Cole

Euphoria/include/are the 3.x compatibility includes

you really shouldn't mix those with the ones in Euphoria/include/std, though you can get around it here and there (not recomended) you can add namespace qualifiers for the 4.1 stdlib routines that are reusing the same name in different files if that happens

search:find_replace() 
regex:find_replace() 
 
text:sprint() 

which may not work for your program mixing in the 3.x includes, depending on how many other conflicts there are in the names.

It's too bad euphoria can't suggest which includes you need for a given program. you pretty much have to add and remove includes till there are no more errors.

Thank you neluno,

I couldn't figure out how 3.x got in there.

If I don't use win32lib.ew it works ok.

Maybe I'm using the wrong win32lib.ew.

Don Cole

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

Search



Quick Links

User menu

Not signed in.

Misc Menu