__func__ in vbcc?
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 404 from 2014/6/11
    From: Germany
    Hi.

    Anyone happen to know whether there is an equivalent of __PRETTY_FUNCTION__ or __func__ in vbcc as it is in gcc?



    Manfred
  • »14.08.14 - 15:26
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 813 from 2007/10/23
    From: Gelsenkirchen,...
    Sorry, __func__ is C99 which is not fully supported.
    http://stackoverflow.com/questions/4384765/whats-the-difference-between-pretty-function-function-func
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »15.08.14 - 13:12
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 404 from 2014/6/11
    From: Germany
    Hmm, __FUNCTION__ unfortunately isn't supported either.

    In my logging facility I'd like to automatically add the function where the log macro was called.
    Anything else that might do this?


    Manfred
  • »15.08.14 - 13:44
    Profile