Re: Some problems with EuServer
- Posted by Mark Brown <mabrown at SENET.COM.AU> Aug 10, 2000
- 458 views
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