[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Inconsistent calling convention declarations cause compile errors (ITS#1074)
We're using MSVC6 on Windows NT or 2000.
We use a makefile instead of an MSVC project.
A sample compile error looks like this:
search.c
.\libldap\search.c(161) : error C2373: 'ldap_search_ext_s' :
redefinition; different type modifiers
..\include\ldap.h(1157) : see declaration of
'ldap_search_ext_s'
We can't just use different compiler options in our makefiles to set a
default calling convention (/Gd, /Gr, or /Gz). We have to change all
the source files to declare functions consistently.
BTW, it would not let me reply to the ITS. Said I couldn't reply as a
guest user. But I couldn't see where to log in.
begin 644 TEXT.htm
M/"%$3T-465!%($A434P@4%5"3$E#("(M+R]7,T,O+T141"!(5$U,(#0N,"!4
M<F%N<VET:6]N86PO+T5.(CX-"CQ(5$U,/CQ(14%$/@T*/$U%5$$@8V]N=&5N
M=#TB=&5X="]H=&UL.R!C:&%R<V5T/6ES;RTX.#4Y+3$B(&AT='`M97%U:78]
M0V]N=&5N="U4>7!E/@T*/$U%5$$@8V]N=&5N=#TB35-(5$U,(#4N,#`N,S$P
M,RXQ,#`P(B!N86UE/4=%3D52051/4CX\+TA%040^#0H\0D]$62!S='EL93TB
M1D].5#H@.'!T(%1A:&]M83L@34%21TE.+4Q%1E0Z(#)P>#L@34%21TE.+51/
M4#H@,G!X(CX-"CQ$258^5V4G<F4@=7-I;F<@35-60S8@;VX@5VEN9&]W<R!.
M5"!O<B`R,#`P+CPO1$E6/@T*/$1)5CY792!U<V4@82!M86ME9FEL92!I;G-T
M96%D(&]F(&%N($U35D,@<')O:F5C="X\+T1)5CX-"CQ$258^)FYB<W`[/"]$
M258^#0H\1$E6/D$@<V%M<&QE)FYB<W`[8V]M<&EL92!E<G)O<B!L;V]K<R!L
M:6ME('1H:7,Z/"]$258^#0H\1$E6/B9N8G-P.SPO1$E6/@T*/$1)5CYS96%R
M8V@N8SQ"4CXN7&QI8FQD87!<<V5A<F-H+F,H,38Q*2`Z(&5R<F]R($,R,S<S
M.B`G;&1A<%]S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