www.digitalmars.com         C & C++   DMDScript  

D - deprecated / method case problem

reply "Matthew Wilson" <matthew stlsoft.org> writes:
I've got some deprecated methods that are the same but have different case -
e.g. start => Start, stop => Stop - and I'm getting weird linker errors, as
in:

H:\SynSoft\D\synsoft.D.debug.lib(perf)  Offset 050B9H Record Type 00C3
 Error 1: Previous Definition Different :
_D7synsoft5win324perf22HighPerformanceCounter5startFZv
H:\SynSoft\D\synsoft.D.debug.lib(perf)  Offset 05121H Record Type 00C3
 Error 1: Previous Definition Different :
_D7synsoft5win324perf22HighPerformanceCounter4stopFZv
H:\SynSoft\D\synsoft.D.debug.lib(perf)  Offset 054FAH Record Type 00C3
 Error 1: Previous Definition Different :
_D7synsoft5win324perf068PerformanceCounterScope_C7synsoft5win324perf22HighPe
rformanceCounter5Scope4stopFZv
H:\SynSoft\D\synsoft.D.debug.lib(perf)  Offset 05D95H Record Type 00C3
 Error 1: Previous Definition Different :
_D7synsoft5win324perf11TickCounter5startFZv
H:\SynSoft\D\synsoft.D.debug.lib(perf)  Offset 05DFCH Record Type 00C3
 Error 1: Previous Definition Different :
_D7synsoft5win324perf11TickCounter4stopFZv
H:\SynSoft\D\synsoft.D.debug.lib(perf)  Offset 06078H Record Type 00C3
 Error 1: Previous Definition Different :
_D7synsoft5win324perf057PerformanceCounterScope_C7synsoft5win324perf11TickCo
unter5Scope4stopFZv
H:\SynSoft\D\synsoft.D.debug.lib(perf)  Offset 062B1H Record Type 00C3
 Error 1: Previous Definition Different :
_D7synsoft5win324perf18ThreadTimesCounter5startFZv
H:\SynSoft\D\synsoft.D.debug.lib(perf)  Offset 0633FH Record Type 00C3
 Error 1: Previous Definition Different :
_D7synsoft5win324perf18ThreadTimesCounter4stopFZv
H:\SynSoft\D\synsoft.D.debug.lib(perf)  Offset 067FBH Record Type 00C3
 Error 1: Previous Definition Different :
_D7synsoft5win324perf064PerformanceCounterScope_C7synsoft5win324perf18Thread
TimesCounter5Scope4stopFZv
H:\SynSoft\D\synsoft.D.debug.lib(perf)  Offset 06A24H Record Type 00C3
 Error 1: Previous Definition Different :
_D7synsoft5win324perf19ProcessTimesCounter5startFZv
H:\SynSoft\D\synsoft.D.debug.lib(perf)  Offset 06ABAH Record Type 00C3
 Error 1: Previous Definition Different :
_D7synsoft5win324perf19ProcessTimesCounter4stopFZv
H:\SynSoft\D\synsoft.D.debug.lib(perf)  Offset 06F76H Record Type 00C3
 Error 1: Previous Definition Different :
_D7synsoft5win324perf065PerformanceCounterScope_C7synsoft5win324perf19Proces
sTimesCounter5Scope4stopFZv
H:\SynSoft\D\synsoft.D.debug.lib(perf)  Offset 071BDH Record Type 00C3
 Error 1: Previous Definition Different :
_D7synsoft5win324perf18PerformanceCounter5startFZv
H:\SynSoft\D\synsoft.D.debug.lib(perf)  Offset 07224H Record Type 00C3
 Error 1: Previous Definition Different :
_D7synsoft5win324perf18PerformanceCounter4stopFZv
H:\SynSoft\D\synsoft.D.debug.lib(perf)  Offset 07652H Record Type 00C3
 Error 1: Previous Definition Different :
_D7synsoft5win324perf064PerformanceCounterScope_C7synsoft5win324perf18Perfor
manceCounter5Scope4stopFZv
H:\SynSoft\D\synsoft.D.debug.lib(synch)  Offset 0C863H Record Type 00C3
 Error 1: Previous Definition Different :
_D7synsoft5win325synch9Semaphore5closeFZv
H:\SynSoft\D\synsoft.D.debug.lib(synch)  Offset 0C945H Record Type 00C3
 Error 1: Previous Definition Different :
_D7synsoft5win325synch9Semaphore4waitFkZi
H:\SynSoft\D\synsoft.D.debug.lib(synch)  Offset 0C9A8H Record Type 00C3
 Error 1: Previous Definition Different :
_D7synsoft5win325synch9Semaphore4waitFZv
H:\SynSoft\D\synsoft.D.debug.lib(synch)  Offset 0CA6DH Record Type 00C3
 Error 1: Previous Definition Different :
_D7synsoft5win325synch9Semaphore7releaseFkZv
H:\SynSoft\D\synsoft.D.debug.lib(synch)  Offset 0CAD0H Record Type 00C3
 Error 1: Previous Definition Different :
_D7synsoft5win325synch9Semaphore7releaseFZv

Is this a recognised problem? Have I misinterpreted the linker warning?
Sep 15 2003
parent reply "Walter" <walter digitalmars.com> writes:
"Matthew Wilson" <matthew stlsoft.org> wrote in message
news:bk488o$1o8o$1 digitaldaemon.com...
 I've got some deprecated methods that are the same but have different
case -
 e.g. start => Start, stop => Stop - and I'm getting weird linker errors,
as
 in:
/noi to the linker should do the trick.
Sep 15 2003
next sibling parent "Matthew Wilson" <matthew stlsoft.org> writes:
Aha. :)

"Walter" <walter digitalmars.com> wrote in message
news:bk5lk6$ron$1 digitaldaemon.com...
 "Matthew Wilson" <matthew stlsoft.org> wrote in message
 news:bk488o$1o8o$1 digitaldaemon.com...
 I've got some deprecated methods that are the same but have different
case -
 e.g. start => Start, stop => Stop - and I'm getting weird linker errors,
as
 in:
/noi to the linker should do the trick.
Sep 15 2003
prev sibling parent "Matthew Wilson" <matthew stlsoft.org> writes:
Aha.

That fixes it.

 :)

Yours, somewhat doh!ed

Matthew

"Walter" <walter digitalmars.com> wrote in message
news:bk5lk6$ron$1 digitaldaemon.com...
 "Matthew Wilson" <matthew stlsoft.org> wrote in message
 news:bk488o$1o8o$1 digitaldaemon.com...
 I've got some deprecated methods that are the same but have different
case -
 e.g. start => Start, stop => Stop - and I'm getting weird linker errors,
as
 in:
/noi to the linker should do the trick.
Sep 15 2003