[erlang-questions] Ignore duplicate difinitions in header files

Eranga Udesh casper2000a@REDACTED
Fri Jun 1 10:57:15 CEST 2007



Is there a way to ignore duplicate object definitions (eg. record, define,
etc) in different included files (.hrl)? For example, if one definition
found in a previous included .hrl file, use that, but ignore any later
duplicates find. This is required to prevent when multiple .hrl files define
the same variable the exactly the same, but compilation exists with errors.



- Eranga

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070601/0ccd3477/attachment.htm>

More information about the erlang-questions mailing list