Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-3960

Fix st ANYARGS warnings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.12.0
    • c

    Description

      The use of ANYARGS by st.h causes warnings such as the following:

      avro/lang/c/src/st.c:240:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not
              supported in C2x [-Wdeprecated-non-prototype]
                hash_val = do_hash(key, table);

       

      The use of ANYARGS can be replaced with void* and appropriate casts

      Attachments

        Issue Links

          Activity

            People

              ssk Sahil Kang
              ssk Sahil Kang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m