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

ftime deprecated - failed to build with glibc-2.31

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.1.45, 10.5.3
    • 10.5.5
    • Performance Schema
    • None
    • Fedora 32 . gcc10.1.0, glibc 2.31-

    Description

      /home/dan/repos/mariadb-server-10.5/mysys/my_rdtsc.c: In function ‘my_timer_milliseconds’:
      /home/dan/repos/mariadb-server-10.5/mysys/my_rdtsc.c:181:3: error: ‘ftime’ is deprecated [-Werror=deprecated-declarations]
        181 |   ftime(&ft);
            |   ^~~~~
      In file included from /home/dan/repos/mariadb-server-10.5/mysys/my_rdtsc.c:79:
      /usr/include/sys/timeb.h:39:12: note: declared here
         39 | extern int ftime (struct timeb *__timebuf)
            |            ^~~~~
      cc1: all warnings bein
      

      Attachments

        Activity

          People

            danblack Daniel Black
            danblack Daniel Black
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.