[so] [Tema 0][Win] Warning compliare macro DIE
Mihnea Dobrescu-Balaur
mihneadb at gmail.com
Fri Mar 1 13:07:35 EET 2013
On Mar 1, 2013 1:04 PM, "Costash" <costashsrc at gmail.com> wrote:
>
> 2013/2/24 Sorina - Gabriela Sandu <sandu.sorina at gmail.com>:
> > Hello,
> >
> > 2013/2/24 Vicentiu Ciorbaru <cvicentiu at gmail.com>:
> >>
> >> On Feb 24, 2013 2:30 PM, "Sorina - Gabriela Sandu" <
sandu.sorina at gmail.com>
> >> wrote:
> >>> La compliarea pe Windows pe Vmchecker primesc la toate liniile la care
> >>> am folosit macro-ul DIE (cel de pe ocw) warning-ul:
> >>>
> >>> warning C4127: conditional expression is constant
> >>
> >> Si eu am folosit macroul die si nu am avut probleme. Ai folosit flagul
cu
> >> no_something_deprecated nu?
> >
> > Nu îl foloseam, foloseam ceva cu no_warnings, care nu pare să fie
suficient.
> >
> > Cu flagul -D_CRT_SECURE_NO_DEPRECATE este ok, nu mai am nici un
> > warning, thanks ;)
> >
> >
>
> Ai mai folosit cumva alt flag? La mine de exemplu, tot la liniile cu
> macro-ul DIE
> am în continuare warning-ul, deși compilez cu acel flag:
>
>
> cl -c /Wall /nologo -D_CRT_SECURE_NO_DEPRECATE tema0.c
> tema0.c
> tema0.c(89) : warning C4127: conditional expression is constant
> tema0.c(125) : warning C4127: conditional expression is constant
> tema0.c(142) : warning C4127: conditional expression is constant
> tema0.c(162) : warning C4127: conditional expression is constant
> tema0.c(237) : warning C4127: conditional expression is constant
>
> Vreo idee care-i treaba?
>
Testezi în if ceva ce nu se schimbă? :)
--
Mihnea Dobrescu-Balaur
Sent from a mobile device.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20130301/55072a44/attachment.html>
More information about the so
mailing list