From: "Rafał Maj" Newsgroups: comp.os.msdos.djgpp Subject: Warning : if (x=y) Date: Sat, 9 Sep 2000 13:31:11 +0200 Organization: Academic Computer Center CYFRONET AGH Lines: 18 Message-ID: <8pd7q6$ljs$2@info.cyf-kr.edu.pl> NNTP-Posting-Host: d-94-53-01.cyfronet.krakow.pl X-Trace: info.cyf-kr.edu.pl 968499846 22140 149.156.1.161 (9 Sep 2000 11:44:06 GMT) X-Complaints-To: news AT cyf-kr DOT edu DOT pl NNTP-Posting-Date: 9 Sep 2000 11:44:06 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com How to turn on warning messages for expression : if (x=y) { ... } I have use Turbo Pascal for over 6 years, so now in C++ I'm often writing if (x=y) instead of if (x==y) What is command-line option for turning on warning messages for this expression ? P.S. I don't want to use compilation options in Rhide, because they don't always work correct. I would prefer command-line option. Thanks, Rafal