1. Conflict arcsin arccos in misc.e and math.e

misc.e has global functions with names arcsin arccos

std/math.e has these same functions as public function

If I include misc.e and also math.e before executing arcsin or arccos, the program does not like public function arcsin and arccos.

If I comment out these two global functions in misc.e, everything is fine.

new topic     » topic index » view message » categorize

2. Re: Conflict arcsin arccos in misc.e and math.e

Vinoba said...

misc.e has global functions with names arcsin arccos

std/math.e has these same functions as public function

If I include misc.e and also math.e before executing arcsin or arccos, the program does not like public function arcsin and arccos.

If I comment out these two global functions in misc.e, everything is fine.

In general, don't use the files in the include directory. Those are the legacy 3.1 library. Use the include/std files. Or, if you absolutely must, use name spaces to qualify where required.

Matt

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

3. Re: Conflict arcsin arccos in misc.e and math.e

OK. Thanks

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

Search



Quick Links

User menu

Not signed in.

Misc Menu