We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
One of the messages that I got is
calcfinesstrategy.h:6: 'dates.h' does not need to be #included
Which is wrong, since removing it will result in a compiler error. Below is a simplified example.
calcfinesstrategy.h:
ifndef CALCFINESSTRATEGY_H define CALCFINESSTRATEGY_H include "dates.h" class CCCalcFinesStrategy { public: CCCalcFinesStrategy(); private: void Initialize(); }; endif`
class CCCalcFinesStrategy { public: CCCalcFinesStrategy(); private: void Initialize(); };
calcfinesstrategy.cpp:
include "calcfinesstrategy.h" void CCCalcFinesStrategy::Initialize() { current_date_time( var1, var2, var3, 1 ); }
void CCCalcFinesStrategy::Initialize() { current_date_time( var1, var2, var3, 1 ); }
dates.h:
ifndef DATES_H define DATES_H int current_date_time( long long &f_ts, wchar_t *sa_date, long &d_dayno, int i_format ); endif
int current_date_time( long long &f_ts, wchar_t *sa_date, long &d_dayno, int i_format );
The text was updated successfully, but these errors were encountered:
I think dates.h ought to be included in calcfinesstrategy.cpp (rather than in calcfinesstrategy.h).
dates.h
calcfinesstrategy.cpp
calcfinesstrategy.h
Sorry, something went wrong.
No branches or pull requests
One of the messages that I got is
Which is wrong, since removing it will result in a compiler error. Below is a simplified example.
calcfinesstrategy.h:
calcfinesstrategy.cpp:
dates.h:
The text was updated successfully, but these errors were encountered: