From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Marc Rouaix" To: egcs@cygnus.com Subject: suggest parentheses around assignment used as truth value Date: Tue, 30 Jun 1998 19:49:00 -0000 Message-id: X-SW-Source: 1998-07/msg00005.html I'd just like to register my opiniont that code like if (x = p()) {...} shouldn't generate a warning under gcc -Wall. Even if you feel that code like this is obscure, the recommended if ((x = p())) {...} is just bizarre. --- Marc -----== Sent via Deja News, The Discussion Network ==----- http://www.dejanews.com/ Easy access to 50,000+ discussion forums