Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-10622

[R] Nameof<>() is incorrect in r-arrow build environment

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 3.0.0
    • Component/s: R

      Description

      r-arrow builds in an environment which combines MSVC and clang, invalidating assumptions made in nameof<>() which is used to look up R6 class names. Specifically:

      • MSVC prefixes "struct " or "class " to some type names, but this doesn't happen in clang+msvc
      • clang+msvc renders the signature of a function taking no arguments as "(void)" instead of "()"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bkietz Ben Kietzman
                Reporter:
                bkietz Ben Kietzman
              • Votes:
                0 Vote for this issue
                Watchers:
                1 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 20m
                  1h 20m