delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/09/04:13:36

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: Barry Kelly <bkelly DOT ie AT gmail DOT com>
To: rodmedina AT cantv DOT net
Cc: cygwin AT cygwin DOT com
Subject: Re: option of g++
Date: Tue, 09 Sep 2008 09:12:35 +0100
Message-ID: <gobcc4phokqba81ufj242qegtst8kh9c2v@4ax.com>
References: <380-220089298424106 AT cantv DOT net>
In-Reply-To: <380-220089298424106@cantv.net>
X-Mailer: Forte Agent 4.2/32.1117
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m898DZq3028245

Rodrigo Medina wrote:

> Hi,
> Can anybody tell me what the g++ option
> -DU_STATIC_IMPLEMENTATION DOES?

-D instructs the preprocessor (cpp, which is automatically invoked by
g++) to define a symbol; the appended text is the symbol that gets
defined.

The meaning of the symbol depends on the source code you are compiling.
Typically, preprocessor symbols are used to enable or disable features
or modes of a program or library at compilation time (i.e. the option
isn't configurable at run time).

You need to either look in the documentation for the source package you
are compiling, or failing that grep the source for
U_STATIC_IMPLEMENTATION and try to discover from the source what it is
doing. E.g.:

  grep -r U_STATIC_IMPLEMENTATION .

in the source base directory.

-- Barry

-- 
http://barrkel.blogspot.com/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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