This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ - compilation error for all implicit conversion


Thanks a lot - I just picked up all compiler flags that we make use in our
project.

Thanks a lot for the information as provided.

Regards,
Prakash

On Mon, Mar 5, 2018 at 2:00 PM, Liu Hao <lh_mouse@126.com> wrote:

> 在 2018年03月05日 16:17, Satya Prakash Prasad 写道:
> > I still does not throws an error:
> > (... abridged ...)
> >
> > /c/tools/mingw64/bin/c++ -std=c++11 -Wall -Wconversion -Wpedantic
> > -Wextra -w -Wsign-compare -Wnarrowing -Wreturn-type -Wno-int-conversion
> > -Wtype-limits -Wuseless-cast -Wsign-conversion -Wextra -Wsign-conversion
> > cast.cpp
> >
> >
>
> Your `-w` option suppressed all warnings.
>
>
> --
> Best regards,
> LH_Mouse
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]