-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add options for silencing warnings for behaviours
This commit adds the following compiler options for suppressing warnings having to do with behaviours: * nowarn_conflicting_behaviours * nowarn_undefined_behaviour_func * nowarn_undefined_behaviour * nowarn_undefined_behaviour_callbacks * nowarn_ill_defined_behaviour_callbacks * nowarn_ill_defined_optional_callbacks Closes #8985
- Loading branch information
Showing
5 changed files
with
132 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-module(bad_behaviour3). | ||
-export([behaviour_info/1]). | ||
|
||
behaviour_info(callbacks) -> | ||
[{good,1}]; | ||
behaviour_info(optional_callbacks) -> | ||
[{b,1,bad}]. |