Jan-Erik Soderholm wrote... >Dave Dilatush wrote : > >> ...how to deal with it to avoid "running over" >> library-defined symbols by inadvertently re-defining >> one or more of them in my own code. > >Doesn't all builtin library routines follow some >common naming standard ? Even if it's only the >three underscores in your example? I don't know how "standard" it is, but this is what I found: The Microchip dsPIC30F math library has global symbols prepended by one, two, and even three underscores. The "basic" math functions (48 in all) like add, subtract, multiply, and divide for floats, doubles, and 32- and 64-bit signed and unsigned integers all begin with three underscore characters and are documented in the README.TXT file that came with the library. Another 45 functions covering trigonometric, hyperbolic, logarithmic, exponential and other higher operations, all begin with a single underscore character and are documented in DS51456A, dsPIC Language Tools Libraries. The library contains 54 additional functions whose names begin with one, two, or three underscores, do not seem to be documented anywhere, but which are nonetheless declared global. It's kind of a mess. >I don't know the ASM30 environment, but in other >envirs there's usualy a note in the docs saying "symbol >names begining with this-or-that are reserved...". I haven't found any such note, but I suppose I'll just have to either avoid beginning any of my own symbol names with an underscore or underscores, or else take special care to avoid replicating any of the library names. Thanks for the reply. Dave D. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist