Saludos.
Al compilar con fwh20.06, xHarbour 1.2.3. para bcc7.4, y bcc 7.4 me carca en algunas funciones el mensaje:
static function Nx() defined but never used
Como podria resolver este error?
Gracias
static function XXX defined but never used?
- noe aburto
- Posts: 420
- Joined: Wed Nov 26, 2008 6:33 pm
- Location: Morelia, Mich. Mexico.
static function XXX defined but never used?
Noé Aburto Sánchez
Tec. Prog. de Sistemas. -Morelia, Mich. México.
fwh 20.06, Harbour 3.2.0, bcc 7.4
TsBrowse 9.0, TsButton 7.0, xEdit 6.1
naburtos@gmail.com, noeaburto67@hotmail.com
Tec. Prog. de Sistemas. -Morelia, Mich. México.
fwh 20.06, Harbour 3.2.0, bcc 7.4
TsBrowse 9.0, TsButton 7.0, xEdit 6.1
naburtos@gmail.com, noeaburto67@hotmail.com
Re: static function XXX defined but never used?
Hola, ese mensaje te está indicando que hay una función definida y nunca es invocada, tendrías que ajustar los warnings de xHarbour y si no elimina las funciones que no uses.
Saludos
Saludos
Re: static function XXX defined but never used?
Como compilas?
Saludos
Code: Select all
REM xHarbour
%hdir%\bin\harbour PROPOSTA /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p >> Erro.log 2>> ERROS.LOG
REM BCC74
%bcdir%\bin\bcc32 -M -c -v -O2 -ePROPOSTA.Exe -I%hdir%\include -I%bcdir%\include PROPOSTA.C >> Erro.log 2>> ERROS.LOG
João Santos - São Paulo - Brasil
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: static function XXX defined but never used?
xHarbour generates warning in such cases, but not Harbour.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: static function XXX defined but never used?
This is not true:
Anyway, in both cases the EXE is properly build.
EMG
Code: Select all
xHarbour 1.2.3 Intl. (SimpLex) (Build 20200311)
Copyright 1999-2020, http://www.xharbour.org http://www.harbour-project.org/
test.prg(10) Warning W0030 STATIC Function 'TEST' defined but never used
Code: Select all
Harbour 3.2.0dev (r2002240732)
Copyright (c) 1999-2020, https://harbour.github.io/
test.prg(10) Warning W0034 STATIC Function 'TEST' defined but never used
EMG