Skip to content

warning: ISO C does not support #288

@ghost

Description

./configure --enable-timings

./include/timings.h:12:48: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic]
 #define TICK_N( a )        rofi_timings_tick ( __FUNCTION__, __LINE__, a )
                                                ^
source/rofi.c:803:5: note: in expansion of macro 'TICK_N'
     TICK_N ( "Filter start" );
     ^
./include/timings.h:12:48: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic]
 #define TICK_N( a )        rofi_timings_tick ( __FUNCTION__, __LINE__, a )
                                                ^
source/rofi.c:883:5: note: in expansion of macro 'TICK_N'
     TICK_N ( "Filter done" );
     ^
source/rofi.c: In function 'menu_update':
./include/timings.h:11:48: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic]
 #define TICK()             rofi_timings_tick ( __FUNCTION__, __LINE__, "" )
                                                ^
source/rofi.c:967:5: note: in expansion of macro 'TICK'
     TICK ();
     ^
./include/timings.h:12:48: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic]
 #define TICK_N( a )        rofi_timings_tick ( __FUNCTION__, __LINE__, a )
                                                ^
source/rofi.c:987:5: note: in expansion of macro 'TICK_N'
     TICK_N ( "Background" );
     ^
./include/timings.h:11:48: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic]
 #define TICK()             rofi_timings_tick ( __FUNCTION__, __LINE__, "" )
                                                ^
source/rofi.c:1059:5: note: in expansion of macro 'TICK'
     TICK ();
     ^
source/rofi.c: In function 'menu_setup_fake_transparency':
./include/timings.h:12:48: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic]
 #define TICK_N( a )        rofi_timings_tick ( __FUNCTION__, __LINE__, a )
                                                ^
source/rofi.c:1169:9: note: in expansion of macro 'TICK_N'
         TICK_N ( "Fake transparency" );
         ^
source/rofi.c: In function 'menu':
./include/timings.h:11:48: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic]
 #define TICK()             rofi_timings_tick ( __FUNCTION__, __LINE__, "" )
                                                ^
source/rofi.c:1175:5: note: in expansion of macro 'TICK'
     TICK ();
     ^
./include/timings.h:12:48: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic]
 #define TICK_N( a )        rofi_timings_tick ( __FUNCTION__, __LINE__, a )
                                                ^
source/rofi.c:1203:9: note: in expansion of macro 'TICK_N'
         TICK_N ( "Is ASCII start" );
         ^
./include/timings.h:12:48: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic]
 #define TICK_N( a )        rofi_timings_tick ( __FUNCTION__, __LINE__, a )
                                                ^
source/rofi.c:1236:9: note: in expansion of macro 'TICK_N'
         TICK_N ( "Is ASCII stop" );
         ^
./include/timings.h:12:48: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic]
 #define TICK_N( a )        rofi_timings_tick ( __FUNCTION__, __LINE__, a )
                                                ^
source/rofi.c:1252:5: note: in expansion of macro 'TICK_N'
     TICK_N ( "Grab keyboard" );
     ^
./include/timings.h:12:48: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic]
 #define TICK_N( a )        rofi_timings_tick ( __FUNCTION__, __LINE__, a )
                                                ^
source/rofi.c:1261:5: note: in expansion of macro 'TICK_N'
     TICK_N ( "Startup notification" );
     ^
./include/timings.h:12:48: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic]
 #define TICK_N( a )        rofi_timings_tick ( __FUNCTION__, __LINE__, a )
                                                ^
source/rofi.c:1264:5: note: in expansion of macro 'TICK_N'
     TICK_N ( "Get active monitor" );
     ^
./include/timings.h:12:48: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic]
 #define TICK_N( a )        rofi_timings_tick ( __FUNCTION__, __LINE__, a )
                                                ^
source/rofi.c:1430:9: note: in expansion of macro 'TICK_N'
         TICK_N ( "X Event" );
         ^
source/rofi.c: In function 'reload_configuration':
./include/timings.h:11:48: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic]
 #define TICK()             rofi_timings_tick ( __FUNCTION__, __LINE__, "" )
                                                ^
source/rofi.c:2101:9: note: in expansion of macro 'TICK'
         TICK ();
         ^
./include/timings.h:12:48: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic]
 #define TICK_N( a )        rofi_timings_tick ( __FUNCTION__, __LINE__, a )

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions