Re: ver. 4.0 std include files type conflict
- Posted by bernie Mar 18, 2009
- 855 views
jeremy said...
There are other conflicts, such as new in regex.e, pcre.e, stack.e and map.e. There are conflicts with some internal methods as well, for instance, regex.e's find().
With the new standard library, there are over 600 public symbols now. It's impossible to make each one have a clean API and not have a conflict with another. For this reason, namespaces were created:
include regex.e as re include pcre.e as pcre include stack.e as st include map.e as m m:new() st:new() pcre:new() re:new()
They all live together peacefully.
Jeremy
Thanks Jeremy:
I'am having a problem and I'am having a map type conflict
some where in my code so I just noticed that while trying to
find the problem.
With the error I'am getting the ex.err does tell me where
the conflict is just that I have one.