Uploaded image for project: 'Erlang/OTP'
  1. Erlang/OTP
  2. ERL-1467

Warn, at compile-time, about unused macros

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Help Wanted
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I'm not actually sure there's good reason to have a macro declared and unused, but as we have the warning about unused functions (internal, not exported) so do I think the former would be useful (e.g. warn_unused_macro in ERL_COMPILER_OPTIONS). What say you?

        Attachments

          Activity

            People

            Assignee:
            otp_team_vm Team VM
            Reporter:
            paulo.ferraz.oliveira@gmail.com Paulo F. Oliveira
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: