build: osx carveouts
This commit is contained in:
parent
84a061748a
commit
8a842a21c7
3 changed files with 6 additions and 0 deletions
|
|
@ -58,7 +58,9 @@ namespace xo {
|
|||
///@{
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#ifndef __APPLE__
|
||||
#pragma GCC diagnostic ignored "-Wchanges-meaning"
|
||||
#endif
|
||||
const span_type & current_line() const { return current_line_; }
|
||||
#pragma GCC diagnostic pop
|
||||
size_t current_pos() const { return current_pos_; }
|
||||
|
|
|
|||
|
|
@ -74,7 +74,9 @@ namespace xo {
|
|||
///@{
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#ifndef __APPLE__
|
||||
#pragma GCC diagnostic ignored "-Wchanges-meaning"
|
||||
#endif
|
||||
const input_state<CharT> & input_state() const { return input_state_; }
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
|
|
|
|||
|
|
@ -55,7 +55,9 @@ namespace xo {
|
|||
const char * src_function() const { return src_function_; }
|
||||
const std::string & error_description() const { return error_description_; }
|
||||
#pragma GCC diagnostic push
|
||||
#ifndef __APPLE__
|
||||
#pragma GCC diagnostic ignored "-Wchanges-meaning"
|
||||
#endif
|
||||
const input_state_type & input_state() const { return input_state_; }
|
||||
#pragma GCC diagnostic pop
|
||||
size_t tk_start() const { return input_state_.current_pos(); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue