Uploaded image for project: 'ReactOS Online Service'
  1. ReactOS Online Service
  2. ONLINE-739

'Test KVM AHK > compile TestCD' reports 6 warnings (about 'major'/'minor') in 'mkisofs'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Buildbot

    Description

      https://build.reactos.org/builders/Test%20KVM%20AHK?numbuilds=200 (Obsolete)

      https://build.reactos.org/builders/Test%20KVM%20AHK/builds/2982 (Obsolete)

      Oct 12 14:32 	9d15fb927941... 	success 	#2982 	The SingleBranchScheduler scheduler named 'trunk' triggered this build 	Build successful
       
      ("clean")
      

      https://build.reactos.org/builders/Test%20KVM%20AHK/builds/2985 (Obsolete)

      Oct 12 22:21 	650cca217ad8... 	success 	#2985 	The SingleBranchScheduler scheduler named 'trunk' triggered this build 	Build successful
       
      /srv/buildbot/Test_KVM_AHK/build/sdk/tools/mkisofs/schilytools/mkisofs/rock.c: In function 'generate_xa_rr_attributes':
      /srv/buildbot/Test_KVM_AHK/build/sdk/tools/mkisofs/schilytools/mkisofs/rock.c:467:13: warning: In the GNU C Library, "major" is defined
       by <sys/sysmacros.h>. For historical compatibility, it is
       currently defined by <sys/types.h> as well, but we plan to
       remove this soon. To use "major", include <sys/sysmacros.h>
       directly. If you did not intend to use a system-defined macro
       "major", you should undefine it after including <sys/types.h>.
         set_733((char *)Rock + ipnt, major(lstatbuf->st_rdev));
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                                                                                                                                                                                           
      /srv/buildbot/Test_KVM_AHK/build/sdk/tools/mkisofs/schilytools/mkisofs/rock.c:469:13: warning: In the GNU C Library, "minor" is defined
       by <sys/sysmacros.h>. For historical compatibility, it is
       currently defined by <sys/types.h> as well, but we plan to
       remove this soon. To use "minor", include <sys/sysmacros.h>
       directly. If you did not intend to use a system-defined macro
       "minor", you should undefine it after including <sys/types.h>.
         set_733((char *)Rock + ipnt, minor(lstatbuf->st_rdev));
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                                                                                                                                                                                           
      Same at:
      /srv/buildbot/Test_KVM_AHK/build/sdk/tools/mkisofs/schilytools/mkisofs/tree.c: In function 'insert_file_entry':
      /srv/buildbot/Test_KVM_AHK/build/sdk/tools/mkisofs/schilytools/mkisofs/tree.c:2151:13: warning: In the GNU C Library, "major" is defined
      /srv/buildbot/Test_KVM_AHK/build/sdk/tools/mkisofs/schilytools/mkisofs/tree.c:2152:13: warning: In the GNU C Library, "minor" is defined
      /srv/buildbot/Test_KVM_AHK/build/sdk/tools/mkisofs/schilytools/mkisofs/tree.c:2165:13: warning: In the GNU C Library, "major" is defined
      /srv/buildbot/Test_KVM_AHK/build/sdk/tools/mkisofs/schilytools/mkisofs/tree.c:2166:13: warning: In the GNU C Library, "minor" is defined
      

      Fwiw, it actually happened between r2983-2984.

      Though the blamed commit, 0.4.7-dev-592-g1473c52; seems unrelated.

      Did something else change on the bot?

      Attachments

        Activity

          People

            bug zilla Bug Zilla
            Serge Gautherie Serge Gautherie
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: