Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning: ISO C does not support #288

Closed
ghost opened this issue Dec 2, 2015 · 2 comments
Closed

warning: ISO C does not support #288

ghost opened this issue Dec 2, 2015 · 2 comments
Labels
Milestone

Comments

@ghost
Copy link

ghost commented Dec 2, 2015

./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 )

@ghost
Copy link
Author

ghost commented Dec 2, 2015

👍

@ghost ghost closed this as completed Dec 2, 2015
@DaveDavenport DaveDavenport added this to the 0.15.12 milestone Dec 2, 2015
@github-actions
Copy link

github-actions bot commented Nov 4, 2020

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 4, 2020
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant