Skip to content

Fix/includes#2076

Merged
f4exb merged 4 commits intof4exb:masterfrom
dforsi:fix/includes
Apr 21, 2024
Merged

Fix/includes#2076
f4exb merged 4 commits intof4exb:masterfrom
dforsi:fix/includes

Conversation

@dforsi
Copy link
Contributor

@dforsi dforsi commented Apr 20, 2024

This PR does:

  1. renames the few includes for export.h and for dsptypes.h that were different from the rest
  2. removes some unused includes from *.h files
  3. moves some includes from *.h to *.cpp files
  4. add some includes that were missing according to Qt Creator using clangd

For point 1 there are more includes that could be "canonalized", but since the projects compile anyway, I'm not changing any more path for the moment.
For point 2 I removed the includes only from the files I could compile, but I'm still missing some optional libraries so there may be more. And are already too many...
For point 3 I tried move includes around this as little as possible since those are mostly private includes.
For point 4 there where only a handful of files so I did them even if they were compiling fine.

I compiled this under Linux and I will look for any failure of the CI for Windows/Mac and fix them.

dforsi added 4 commits April 20, 2024 19:10
Fixes the 5 includes that are different from the majority:
grep -Ehr "#include .+dsptypes" --include=*.h | sort | uniq -c
    110 #include "dsp/dsptypes.h"
      1 #include <dsp/dsptypes.h>
      4 #include "dsptypes.h"
Fixes the 5 includes that are different from the majority:
grep -Ehr "#include .+export" --include=*.h | sort | uniq -c
    769 #include "export.h"
      5 #include "../../exports/export.h"
@f4exb f4exb merged commit 4d43e53 into f4exb:master Apr 21, 2024
@dforsi dforsi deleted the fix/includes branch April 21, 2024 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants