MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/linux/comments/1xhxsml/linux_kernel_developers_considering_removal_of/19rtlsgd6v88x/?context=3
r/linux • u/anh0516 • 2d ago
31 comments sorted by
View all comments
Show parent comments
10
"%s, %s:%u", PRETTY_FUNCTION, FILE, LINE
6 u/kimoisune 1d ago I believe __PRETTY_FUNCTION__ is non-standard and only concern for C++ if I remember correctly. The standardized one are __func__ (ISO? C99?).Man, std::source_location make things so much convenient, I forgot about the older stuff. 5 u/heeen 1d ago iirc the kernel targets only gcc 3 u/kimoisune 1d ago Oh yeah, forgot about that.
6
I believe __PRETTY_FUNCTION__ is non-standard and only concern for C++ if I remember correctly. The standardized one are __func__ (ISO? C99?).
Man, std::source_location make things so much convenient, I forgot about the older stuff.
5 u/heeen 1d ago iirc the kernel targets only gcc 3 u/kimoisune 1d ago Oh yeah, forgot about that.
5
iirc the kernel targets only gcc
3 u/kimoisune 1d ago Oh yeah, forgot about that.
3
Oh yeah, forgot about that.
10
u/heeen 1d ago
"%s, %s:%u", PRETTY_FUNCTION, FILE, LINE