Re: Problem with Ver 4.1

new topic     » goto parent     » topic index » view thread      » older message » newer message
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 thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu