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

C Support: Add function in .c file from .h (right click) does not add the "struct" keyword

    XMLWordPrintable

Details

    • Linux/Wayland

    Description

      Steps:

      • create a C project
      • create file.h, in which you define a C struct, without typedef and a function prototype which has this c struct passed as pointer
      • create corresponding file.c
      • go to the header, and right click to add your function in file.c
      • you'll see that it is missing "struct" keyword.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kandeler Christian Kandeler
              abique Alexandre BIQUE
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes