| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a --enable-deterministic-build to the configure script,
which sets ERL_DETERMINISTIC=yes throughout the relevant
Makefiles, which then invoke the relevant build stages with the
+deterministic option.
This addresses absolute paths being included in generated .erl files
and compiled .beam files that resulted in builds from different source
directories generating different artefacts (which is a component of the
issue in erlang#4482).
I think it would make sense to make this the default at some stage, but
I've put the change behind a flag for now to decouple
making deterministic OTP builds possible from making them the default.
Having +deterministic set results in compiler options being
removed from the module info for modules where this options was used.
This may have other implications for users of OTP.
For tests themselves, +determinism is not set, since many test cases
depend on accessing the test module's compilation options, or other
features not available in deterministic mode, in order to configure
themselves. For tests of the determinism feature specifically,
+deterministic must be explicitly passed to the compiler within the
relevant test cases.
|
| |
|
|\
| |
| | |
Fix typos in lib/snmp
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
| |
Remove the current date/time and snmp version from the
header section of .hrl files generated by snmpc_mib_to_hrl.
Contributes to #4417 (ERL-1445) and #4482 (ERL-1446).
|
|\
| |
| |
| | |
OTP-17063
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add make constructs to treat 'warning as error' by default
in the snmp makefiles.
Also, improve 'warn_unused_vars' usage in said makefiles.
OTP-17063
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A local function error/3 was defined in a couple of modules.
This conflicted with the bif error/3.
So, in those modules an no_auto_import attribute was added
for this function.
OTP-17063
|
|/
|
|
|
| |
erlang:error/3 is a new BIF in OTP 24. Turn off the autoimport
of erlang:error/3 to avoid a compiler error.
|
| |
|
|
|
|
|
|
|
| |
Use of the deprecated module random has been replaced
by the module rand.
OTP-15331
|
|
|
|
|
|
|
| |
The snmp mib compiler printed an spurious version message
if the 'version' option was provided.
OTP-15290
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
MIB constructs such as "SYNTAX Opaque (SIZE(0..65535))" was
previously not allowed, this has now been fixed.
See the standard ALARM-MIB for eaxmple.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
bmk/snmp/snmp4231_integration/r16
Conflicts:
lib/snmp/doc/src/notes.xml
lib/snmp/src/app/snmp.appup.src
lib/snmp/vsn.mk
|
| | |
|
| |
| |
| |
| |
| | |
The MIB compiler could not handle a table index refering to
an object defined later in the MIB.
|
| |
| |
| |
| |
| | |
The MIB compåiler (snmpc) did not hanmdle import (from
SNMPv2-SMI) of (pseudo-) type BITS.
|
| | |
|
|/
|
|
|
|
| |
With silent rules, the output of make is less verbose and compilation
warnings are easier to spot. Silent rules are disabled by default and
can be disabled or enabled at will by make V=0 and make V=1.
|
| |
|
|
|
|
|
| |
OTP-10106
OTP-10107
|
| |
|
|
|
|
|
|
|
|
| |
The information the MIB compiler provides with augmented
tables has been extended with nbr_of_cols, first_accessible and
not_accessible.
OTP-9969
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
lib/snmp/src/agent/snmpa_set_lib.erl
lib/snmp/src/app/snmp.appup.src
lib/snmp/src/compile/snmpc.src
lib/snmp/vsn.mk
|
| |
| |
| |
| |
| |
| |
| | |
The short warning option was incorrectly '--w', instead
of as documented '--W'. This has now been corrected.
Tuncer Ayaz
OTP-9718
|
| |
| |
| |
| |
| | |
MIB compiler frontend escript.
OTP-9618
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The short warning option was incorrectly '--w', instead
of as documented '--W'. This has now been corrected.
Tuncer Ayaz
OTP-9718
Merge branch 'bmk/snmp/compiler/fix_short_warning_option/OTP-9718' into bmk/snmp/r15_integration
|
| |\ \
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
The short warning option was incorrectly '--w', instead
of as documented '--W'. This has now been corrected.
Tuncer Ayaz
OTP-9718
Merge branch 'ta/snmpc-warnings-option' into bmk/snmp/compiler/fix_short_warning_option/OTP-9718
|
| |/ |
|
| |
| |
| |
| | |
OTP-9618
|
|/
|
|
| |
OTP-9618
|
| |
|
|
|
|
| |
Also removed the "Error : " prefix for error printouts.
|
|
|
|
| |
for completion.
|
|
|
|
|
|
|
|
|
|
| |
warnings-as-errors variable), which caused the
compiler to crash when using the snmpc script.
Also added the option --Werror for the SNMP MIB
compiler (escript) frontend (to mimic erlc), which
specifies whether warnings should be treated as errors.
OTP-9447
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
compiler (escript) frontend, the option --wae is used) which
specifies whether warnings should be treated as errors.
Tuncer Ayaz.
OTP-9437
Merge branch 'bmk/snmp/compiler/warnings_as_errors/OTP-9437' into bmk/snmp/snmp421_integration
Conflicts:
lib/snmp/doc/src/notes.xml
lib/snmp/src/app/snmp.appup.src
lib/snmp/src/compile/Makefile
|
| |
| |
| |
| |
| |
| | |
specifies whether warnings should be treated as errors.
Tuncer Ayaz.
OTP-9437
|
| | |
|
|/
|
|
| |
both in bin end ebin.
|