Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-21046

C vs C++: Semantic issues in code from system macros

XMLWordPrintable

    • Linux/X11

      I get the warning 'use of old-style cast - note: expanded from macro FD_SET' in this code:

      // main.c
      #include <sys/select.h>
      
      int main()
      {
          fd_set x;
          FD_SET(0, &x); // use of old-style cast (3 times)
      }
      

        1. macro.cpp
          0.1 kB
        2. macro.png
          macro.png
          114 kB
        3. macro.pro
          0.1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kosjar Nikolai Kosjar
            tguen tguen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes