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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu