Re: include std/convert.e
- Posted by mattlewis (admin) Jun 20, 2013
- 1030 views
buzzo said...
Using 4.0.5 and have found conflicts with several includes and the std/convert.e module.
In the following code, the call to atom_to_float64() produces an error if the machine.e line is un-commented... same for dll.e
It's a bad idea, firstly, to mix the legacy standard library (e.g., "include machine.e") and the 4.0 standard library. Also, it's not uncommon to have multiple libraries use the same symbol names. You'll need to use namespaces to deconflict. The new standard libraries all have namespaces defined by default, so you can use those or declare your own when you include them.
Matt