Open Bug 1451497 Opened 4 years ago Updated 4 years ago

Buildconfig to support __PRETTY_FUNCTION__ macro

Categories

(Core :: WebRTC, enhancement, P3)

60 Branch
enhancement

Tracking

()

People

(Reporter: bwc, Unassigned)

Details

Here's the moz.build snippet:

    if CONFIG['CC_TYPE'] in ('msvc', 'clang-cl'):

        DEFINES['__PRETTY_FUNCTION__'] = '__FUNCSIG__'
Byron, are you planning on fixing this? Otherwise, could you add a bit of context on why we want this and where the change should be made? Thanks!
Rank: 25
Priority: -- → P3
__PRETTY_FUNCTION__ is a macro very similar to __FUNCTION__, except that it expands to a more thorough string representation of the function where it appears. For example, __PRETTY_FUNCTION__ might expand to "virtual void SomeClass::foo(int) const", while __FUNCTION__ would just expand to "foo".
I guess we would want to put this in the moz.build file for media/webrtc/signaling?
You need to log in before you can comment on or make changes to this bug.