delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/01/17:40:53

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
X-Originating-IP: [65.96.48.135]
X-Originating-Email: [mgainty AT hotmail DOT com]
From: "Martin Gainty" <mgainty AT hotmail DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Dumb Question on GCC
Date: Tue, 1 Jul 2003 17:40:41 -0400
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <Law10-OE47VlFvlRojT00011e7d@hotmail.com>
X-OriginalArrivalTime: 01 Jul 2003 21:40:36.0651 (UTC) FILETIME=[6867F7B0:01C34019]

GCC SlpReg.c
/cygdrive/h/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccwParH7.o(.text+0x11d):SLPReg.c
: un
defined reference to `_SLPOpen'

My header file refers to function SLPOpen not _SLPOpen
The .c file calls SLPOpen not _SLPOpen

Where does the leading underscore come from ?
How do I shut it off the compiler from introducing leading _?

Many Thanks,

Martin

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