delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/04/16:12:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <5.1.1.6.0.20021104220627.01f929d8@wheresmymailserver.com>
X-Sender: (Unverified)
Date: Mon, 04 Nov 2002 22:12:10 +0100
To: cygwin AT cygwin DOT com
From: Jens Yllman <x AT xtr DOT org>
Subject: Re: 1.3.13: problem using ntohs() in asm/bytorder.h in gcc 3.2.
Mime-Version: 1.0

I did not mean it that way. I meant it in the way that I thought them to be 
functions. And I use :: to make sure it does not collide with something 
with in the namespace I use. To tell that it is a function in the 'root'. I 
guess maybe that is a 'bad' thing when using C type libraries.

Sorry. I noticed now that I have the same type of problem on my Linux box. 
I'll remove all ::. 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 I 
still use it, especially for makeing code compile diffrently on diffrent 
platforms. Or to include or not include some features.

Thanks for all the answers.

Jens Yllman (firstname at lastname dot com)


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019