PowerTuneDigital / PowerTuneDigitalOfficial

Official PowerTune Digital Repo
GNU General Public License v3.0
18 stars 7 forks source link

Fixed deprecation warning #52

Closed pgrandin closed 2 years ago

pgrandin commented 2 years ago

warning: 'endl' is deprecated: Use Qt::endl

github-actions[bot] commented 2 years ago

Here are the first 10 encountered errors:

Apexi.cpp(3): error cpplint: [build/include_subdir] Include the directory when naming header files [4]
Apexi.cpp(4): error cpplint: [build/include_order] Found C system header after other header. Should be: Apexi.h, c system, c++ system, other. [4]
Apexi.cpp(5): error cpplint: [build/include_order] Found C system header after other header. Should be: Apexi.h, c system, c++ system, other. [4]
Apexi.cpp(6): error cpplint: [build/include_order] Found C system header after other header. Should be: Apexi.h, c system, c++ system, other. [4]
Apexi.cpp(7): error cpplint: [build/include_order] Found C system header after other header. Should be: Apexi.h, c system, c++ system, other. [4]
Apexi.cpp(8): error cpplint: [build/include_order] Found C system header after other header. Should be: Apexi.h, c system, c++ system, other. [4]
Apexi.cpp(9): error cpplint: [build/include_order] Found C system header after other header. Should be: Apexi.h, c system, c++ system, other. [4]
Apexi.cpp(10): error cpplint: [build/include_order] Found C system header after other header. Should be: Apexi.h, c system, c++ system, other. [4]
Apexi.cpp(22): error cpplint: [whitespace/comments] Should have a space between // and comment [4]

Done processing Apexi.cpp Done processing connect.cpp Done processing datalogger.cpp Done processing wifiscanner.cpp Category 'build' errors found: 49 Category 'readability' errors found: 6 Category 'whitespace' errors found: 649 Total errors found: 704

github-actions[bot] commented 2 years ago

Here are the first 10 encountered errors:

Apexi.cpp(12): error cpplint: [build/include_subdir] Include the directory when naming header files [4]
Apexi.cpp(23): error cpplint: [whitespace/comments] Should have a space between // and comment [4]
Apexi.cpp(29): error cpplint: [whitespace/operators] Missing spaces around = [4]
Apexi.cpp(37): error cpplint: [whitespace/comments] Should have a space between // and comment [4]
Apexi.cpp(47): error cpplint: [whitespace/tab] Tab found; better to use spaces [1]
Apexi.cpp(47): error cpplint: [whitespace/line_length] Lines should be <= 120 characters long [2]
Apexi.cpp(47): error cpplint: [whitespace/comments] At least two spaces is best between code and comments [2]
Apexi.cpp(47): error cpplint: [whitespace/comments] Should have a space between // and comment [4]
Apexi.cpp(47): error cpplint: [whitespace/comma] Missing space after , [3]

Done processing Apexi.cpp Done processing connect.cpp Done processing datalogger.cpp Done processing wifiscanner.cpp Category 'build' errors found: 42 Category 'readability' errors found: 4 Category 'whitespace' errors found: 504 Total errors found: 550