Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: Shankar Unni Subject: Re: 1.3.13: problem using ntohs() in asm/bytorder.h in gcc 3.2. Date: Mon, 04 Nov 2002 15:47:48 -0800 Lines: 8 Message-ID: <3DC70724.10804@cotagesoft.com> References: <5 DOT 1 DOT 1 DOT 6 DOT 0 DOT 20021104220627 DOT 01f929d8 AT wheresmymailserver DOT com> NNTP-Posting-Host: adsl-64-165-207-58.dsl.snfc21.pacbell.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1036453615 17948 64.165.207.58 (4 Nov 2002 23:46:55 GMT) X-Complaints-To: usenet AT main DOT gmane DOT org NNTP-Posting-Date: Mon, 4 Nov 2002 23:46:55 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (Compact) X-Accept-Language: en-us, en On 11/4/2002 1:12 PM, Jens Yllman wrote: > In C++ it is recommended to use other constructs then > #define, like const or enum or inline. But I see the use of #define. And that is unfortunately necessary, since the worse evil is maintaining separate copies of for C and C++ compilers - that could quickly become a maintenance nightmare. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/