Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-6862

"#error <my_config.h>" and third-party libraries

Details

    Description

      The safety check in my_config.h ensures that this file is always included before system headers.

      But when my_config.h is installed, this breaks compilation of various third-party projects. In particular, mysql-python doesn't compile anymore.

      While technically forcing my_config.h first is correct and mysql-python doesn't break by a sheer luck and, we still cannot force all third-party projects to include files correctly.

      This check has to be relaxed.

      Attachments

        Issue Links

          Activity

            serg Sergei Golubchik created issue -
            serg Sergei Golubchik made changes -
            Field Original Value New Value
            serg Sergei Golubchik made changes -
            Description The safety check in {{my_config.h}} ensures that this file is always included before system headers.

            But when {{my_config.h}} is installed, this breaks compilation of various third-party projects. In particular, mysql-python doesn't compile anymore.

            While technically forcing {{my_config.h}} is correct and mysql-python doesn't break by a sheer luck and, we still cannot force all third-party projects to include my_config.h first.

            This check has to be relaxed.
            The safety check in {{my_config.h}} ensures that this file is always included before system headers.

            But when {{my_config.h}} is installed, this breaks compilation of various third-party projects. In particular, mysql-python doesn't compile anymore.

            While technically forcing {{my_config.h}} first is correct and mysql-python doesn't break by a sheer luck and, we still cannot force all third-party projects to include my_config.h first.

            This check has to be relaxed.
            serg Sergei Golubchik made changes -
            Description The safety check in {{my_config.h}} ensures that this file is always included before system headers.

            But when {{my_config.h}} is installed, this breaks compilation of various third-party projects. In particular, mysql-python doesn't compile anymore.

            While technically forcing {{my_config.h}} first is correct and mysql-python doesn't break by a sheer luck and, we still cannot force all third-party projects to include my_config.h first.

            This check has to be relaxed.
            The safety check in {{my_config.h}} ensures that this file is always included before system headers.

            But when {{my_config.h}} is installed, this breaks compilation of various third-party projects. In particular, mysql-python doesn't compile anymore.

            While technically forcing {{my_config.h}} first is correct and mysql-python doesn't break by a sheer luck and, we still cannot force all third-party projects to include files correctly.

            This check has to be relaxed.
            serg Sergei Golubchik made changes -
            Affects Version/s 10.0.14 [ 17101 ]
            serg Sergei Golubchik made changes -
            Fix Version/s 10.0.15 [ 17300 ]
            Fix Version/s 10.0 [ 16000 ]
            serg Sergei Golubchik made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            serg Sergei Golubchik made changes -
            Fix Version/s 5.5.41 [ 17600 ]
            Fix Version/s 5.5 [ 15800 ]
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Component/s Compiling [ 11001 ]
            Component/s OTHER [ 10125 ]
            ratzpo Rasmus Johansson (Inactive) made changes -
            Workflow MariaDB v2 [ 55700 ] MariaDB v3 [ 65225 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 65225 ] MariaDB v4 [ 148302 ]

            People

              serg Sergei Golubchik
              serg Sergei Golubchik
              Votes:
              2 Vote for this issue
              Watchers:
              9 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.