[erlang-questions] ?DATE and ?TIME MACROs

Maxim Treskin <>
Tue Oct 7 06:02:54 CEST 2008


Hello

?DATE and ?TIME are common and constant for whole application in compilation
time.
It is not similar to ?FUNCTION, ?MODULE, ?LINE which cannot be specified by
-D parameter of erlc.
So, better way to definition of ?DATE and ?TIME is commandline options of
erlc, specified in Makefile.

However it is good idea to add ?FUNCTION to epp.

-- 
Maxim Treskin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081007/3e1f9114/attachment.html>


More information about the erlang-questions mailing list