Re: Some problems with EuServer

new topic     » goto parent     » topic index » view thread      » older message » newer message

Derek wrote

> I suggest that the authors of libraries that have global
> functions/procedures, prefix or suffix the global procedure's name with a
> short tag that identifies the library file. For example, in win32lib the
> "reverse" function could have been named "w32Reverse" or "reverseW32" or
> something. This does not absolutely solve the namespace issue but it
> lessens the potential name conflict.

As a short term solution, would it be worthwhile writing some sort of
preprocessor
that could do a search and modify on offending globals using the prefix /
suffix
idea? Run all your includes through it to search for conflicts and have it
rename
any offending globals using a prefix of the users choice?

Mark

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu