Uploaded image for project: 'MariaDB Connector/C++'
  1. MariaDB Connector/C++
  2. CONCPP-13

Doesn't compile in CLang 10

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Duplicate
    • None
    • N/A
    • General
    • None
    • Ubuntu 20.04 Clang 10.0.0

    Description

      src/options/DefaultOptions.cpp doesn't compile in CLang due to it finding these casts ambiguous in 5 places in the code:

      static_cast<const SQLString>(o->minValue)
      static_cast<const SQLString>(o->maxValue)
      static_cast<const SQLString>(value)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              LinuxJedi Andrew Hutchings (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.