cocodelabs / znc-palaver

ZNC module for push notifications
MIT License
112 stars 14 forks source link

Build warnings on znc-buildmod #17

Closed dewey closed 9 years ago

dewey commented 9 years ago

Hello,

I'm running znc 1.4 and just cloned the znc-palaver repository. There are some warnings on the build process. Is this alright or something that should be fixed?

dewey@example ~/znc-palaver$ znc-buildmod palaver.cpp                                                                                                                                                                           master
Building "palaver.so" for ZNC 1.4... palaver.cpp:473:0: warning: ignoring #pragma mark  [-Wunknown-pragmas]
 #pragma mark - Serialization
 ^
palaver.cpp:587:0: warning: ignoring #pragma mark  [-Wunknown-pragmas]
 #pragma mark - Notifications
 ^
palaver.cpp:669:0: warning: ignoring #pragma mark  [-Wunknown-pragmas]
 #pragma mark - Cap
 ^
palaver.cpp:679:0: warning: ignoring #pragma mark  [-Wunknown-pragmas]
 #pragma mark -
 ^
palaver.cpp:749:0: warning: ignoring #pragma mark  [-Wunknown-pragmas]
 #pragma mark -
 ^
palaver.cpp:782:0: warning: ignoring #pragma mark  [-Wunknown-pragmas]
 #pragma mark -
 ^
palaver.cpp:821:0: warning: ignoring #pragma mark  [-Wunknown-pragmas]
 #pragma mark - Serialization
 ^
palaver.cpp:909:0: warning: ignoring #pragma mark  [-Wunknown-pragmas]
 #pragma mark -
 ^
palaver.cpp:956:0: warning: ignoring #pragma mark  [-Wunknown-pragmas]
 #pragma mark - Commands
 ^
[ ok ]
kylef commented 9 years ago

These are not a problem. These are used to organise the code. You can use make as used in the installation instructions in the README instead to suppress these messages.

dewey commented 9 years ago

My bad, thanks for the clarification!