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

          Activity

            People

              Unassigned Unassigned
              abique Alexandre BIQUE
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: