[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: -DDEBUG and include/security/_pam_macros.h



Derrick,

I think the __FUNCTION__ one is gcc specific.  The others are covered
in my K&R C-book v2. (ANSI).

I'd see how far you get with 

	cc -D__FUNCTION__=\"n/a\"

Does this help?  Or is your problem something else?

Cheers

Andrew

Derrick J Brashear writes:
> Namely,
> #define D(x) { \
>     _pam_output_debug_info(__FILE__, __FUNCTION__, __LINE__); \
>     _pam_output_debug x ; \
> } 
> 
> It doesn't work very well with !gcc. Most of you don't care, but I'm
> trying to debug stuff built with Solaris cc. Problem is, I can't think of
> a good way to address this, at least without simply not doing that if
> we're not using gnu c. 
> 
> Comments?
> 
> -D
> 
> 
> -- 
> To unsubscribe: mail -s unsubscribe pam-list-request@redhat.com < /dev/null



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []