forum-msg-id-129741-edit

Original date:2016-05-21 05:11:14 Edited by: ne1uno Subject: 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() 
regex:find() 
 
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.

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu