🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.lenguajes.c++
Article #16157

Inline functions

#16157
From: Isidro Gonzalez Caballero
Date: Wed, 05 Feb 1997 00:00
28 lines
1550 bytes
Hola,
	Tengo el siguiente problema. Cada vez que declaro una funcion como
inline en el Borland C++ 5.0 y le pido que me compile el proyecto,
resulta que
me da un error de linkado diciendome que no encuentra la funcion que he 
"inlineado". Sin embargo si pongo el codigo de la funcion dentro del 
fichero .h, que hasta donde yo se es lo mismo (practicamente) que
declararla
inline, no obtengo ningun error. Y todo va perfectamente. Alguien sabe
como
solucionar esto?... Hay que cambiar algun parametro dentro del IDE o
algo asi?
Muchas gracias de antemano a todos.

	Chiqui

-- 
+-------------------------------+------------------------------------------+
| Isidro Gonzalez Caballero     | e-mail:
iglez@mastin.unican.es           |
| Dpto. Fisica Moderna - IFCA   |        
iglez@vxcern.cern.ch             |
| Universidad de Cantabria      | WWW:
http://www.ifca.unican.es/~iglez/   |
| Tel: (942) 201343             |     
http://wwwcn1.cern.ch/~iglez/       |
+-------------------------------+------------------------------------------+
Technical Details
Message-ID: <32F88477.41C6@mastin.unican.es>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: f53ec,49aae3ad52040d4f,start
X-Google-Attributes: gidf53ec,public
From: Isidro Gonzalez Caballero <iglez@mastin.unican.es>
Subject: Inline functions
Date: 1997/02/05
Message-ID: <32F88477.41C6@mastin.unican.es>
X-Deja-AN: 214604975
cc: iglez
content-type: text/plain; charset=us-ascii
organization: IFCA
mime-version: 1.0
newsgroups: es.comp.lenguajes.c++
x-mailer: Mozilla 3.01Gold (X11; I; OSF1 V3.2 alpha)