What would I have to do I have to do to suppress the following
warnings??
In file included from /usr/include/fstream.h:4,
from /home/saic/src/common/include/SAICCommonCpp.h:94,
from /home/saic/src/common/include/SAICtypes.h:34,
from /home/saic/src/common/include/SAICmsg.h:30,
from /home/saic/src/chps/bmsd/include/SAICbms.h:33,
from /home/saic/src/chps/bmsd/src/SAICbms.cc:32:
/usr/include/fstream: In method std::basic_filebuf<_Elem,_Traits>::basic_filebuf(_Filet * = 0)': /usr/include/fstream:89: warning: base initializer for std::basic_streambuf<_Elem,_Traits>’
/usr/include/fstream:89: warning: will be re-ordered to precede
member initializations
/usr/include/fstream: In method std::basic_filebuf<_Elem,_Traits>::basic_filebuf(std::_Uninitialized)': /usr/include/fstream:98: warning: base initializer for std::basic_streambuf<_Elem,_Traits>’
/usr/include/fstream:98: warning: will be re-ordered to precede
member initializations
Thanks.
Best Regards…
Miguel.
–
my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.
What would I have to do I have to do to suppress the following
warnings??
In file included from /usr/include/fstream.h:4,
from /home/saic/src/common/include/SAICCommonCpp.h:94,
from /home/saic/src/common/include/SAICtypes.h:34,
from /home/saic/src/common/include/SAICmsg.h:30,
from /home/saic/src/chps/bmsd/include/SAICbms.h:33,
from /home/saic/src/chps/bmsd/src/SAICbms.cc:32:
/usr/include/fstream: In method std::basic_filebuf<_Elem,_Traits>::basic_filebuf(_Filet * = 0)': /usr/include/fstream:89: warning: base initializer for std::basic_streambuf<_Elem,_Traits>’
/usr/include/fstream:89: warning: will be re-ordered to precede
member initializations
/usr/include/fstream: In method std::basic_filebuf<_Elem,_Traits>::basic_filebuf(std::_Uninitialized)': /usr/include/fstream:98: warning: base initializer for std::basic_streambuf<_Elem,_Traits>’
/usr/include/fstream:98: warning: will be re-ordered to precede
member initializations
-Wno-reorder flag.
Best Regards,
Marcin
Thanks.
Best Regards…
Miguel.
–
my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.
Any clues/pointers about when to set or overide a flag in the preset vs.
post-set macro? I guess that I can go and look into the several include
files, but I wonder if there is any easy/obvious way to tell? Practice
I suppose?
Any clues/pointers about when to set or overide a flag in the preset vs.
post-set macro? I guess that I can go and look into the several include
files, but I wonder if there is any easy/obvious way to tell? Practice
I suppose?
What would I have to do I have to do to suppress the following
warnings??
In file included from /usr/include/fstream.h:4,
from /home/saic/src/common/include/SAICCommonCpp.h:94,
from /home/saic/src/common/include/SAICtypes.h:34,
from /home/saic/src/common/include/SAICmsg.h:30,
from /home/saic/src/chps/bmsd/include/SAICbms.h:33,
from /home/saic/src/chps/bmsd/src/SAICbms.cc:32:
/usr/include/fstream: In method std::basic_filebuf<_Elem,_Traits>::basic_filebuf(_Filet * = 0)': /usr/include/fstream:89: warning: base initializer for std::basic_streambuf<_Elem,_Traits>’
/usr/include/fstream:89: warning: will be re-ordered to precede
member initializations
/usr/include/fstream: In method std::basic_filebuf<_Elem,_Traits>::basic_filebuf(std::_Uninitialized)': /usr/include/fstream:98: warning: base initializer for std::basic_streambuf<_Elem,_Traits>’
/usr/include/fstream:98: warning: will be re-ordered to precede
member initializations
Thanks.
Best Regards…
Miguel.
–
my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.
You can change it in /usr/include/mk/qmacros.mk, line 122.
So, If it’s defined in qmacros.mk, in your commonk.mk you may change it
after include qmacros.mk because there is no test on a previous definition.
Yup. As you say here and also Marcin said in a previous post:
“You should be able to override a VFLAG_g=-gdwarf-2 in the Post-set make
macros section.”
This works. Thanks Marcin and Alain.
The Nto way for ‘make’ to work, with all the file structure and such, is
wonderful. Now, any pointers on how to port this capability to
Linux??
Regards…
Miguel.
Alain Bonnefoy wrote:
You can change it in /usr/include/mk/qmacros.mk, line 122.
So, If it’s defined in qmacros.mk, in your commonk.mk you may change it
after include qmacros.mk because there is no test on a previous definition.
Regards,
Alain.
–
my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.
Yup. As you say here and also Marcin said in a previous post:
“You should be able to override a VFLAG_g=-gdwarf-2 in the Post-set make
macros section.”
This works. > > Thanks Marcin and Alain.
The Nto way for ‘make’ to work, with all the file structure and such, is
wonderful. Now, any pointers on how to port this capability to
Linux??
Regards…
Miguel.
Alain Bonnefoy wrote:
You can change it in /usr/include/mk/qmacros.mk, line 122.
So, If it’s defined in qmacros.mk, in your commonk.mk you may change it
after include qmacros.mk because there is no test on a previous definition.
Regards,
Alain.
–
my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.