[erlang-questions] Why we need a -module() attribute?

Richard A. O'Keefe ok@REDACTED
Fri Feb 26 01:32:40 CET 2016



On 26/02/16 11:30 am, Raoul Duke wrote:
>> Hah!  I got my hands on a Java textbook that promised to be helpful a couple
>> of
>> years ago, and it had on-line code examples I could download.
>>
>> EVERY SINGLE ONE OF THEM produced a flood of deprecation warnings
>> from the compiler.  Not impressed.


> Things change.
In two years?

With a deprecation system like the one in the Mac OS X headers,
all you need is a compiler option "compile like it was <os version>".




More information about the erlang-questions mailing list