Created
June 2, 2017 15:43
-
-
Save abbradar/11cc6026bf6385b02f58da72f51c0655 to your computer and use it in GitHub Desktop.
jsoncons warnings on gcc 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In file included from ext/tracy/include/tracy/write_to_file.hpp:9:0, | |
from ext/tracy/include/tracy/tracer.hpp:19, | |
from ext/tracy/include/tracy/tracy.hpp:10, | |
from ext/tracy/include/tracy/logger.hpp:6, | |
from ext/gate-common/include/gate/sbe_misc.hpp:6, | |
from src/test_replace.cpp:16: | |
ext/jsoncons/src/jsoncons/json.hpp: In instantiation of ‘jsoncons::value_type jsoncons::basic_json<CharT, JsonTraits, Allocator>::variant::type_id() const [with CharT = char; JsonTraits = jsoncons::json_traits<char>; Allocator = std::allocator<char>]’: | |
ext/jsoncons/src/jsoncons/json.hpp:3047:9: required from ‘jsoncons::basic_json<CharT, JsonTraits, Allocator>::json_type jsoncons::basic_json<CharT, JsonTraits, Allocator>::get(jsoncons::basic_json<CharT, JsonTraits, Allocator>::string_view_type, T&&) const [with T = const char (&)[4]; CharT = char; JsonTraits = jsoncons::json_traits<char>; Allocator = std::allocator<char>; jsoncons::basic_json<CharT, JsonTraits, Allocator>::json_type = jsoncons::basic_json<char, jsoncons::json_traits<char>, std::allocator<char> >; jsoncons::basic_json<CharT, JsonTraits, Allocator>::string_view_type = jsoncons::Basic_string_view_<char, std::char_traits<char> >; typename JsonTraits::char_traits_type = std::char_traits<char>]’ | |
ext/tracy/include/tracy/write_to_stream.hpp:101:50: required from here | |
ext/jsoncons/src/jsoncons/json.hpp:756:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
return reinterpret_cast<const base_data*>(&data_)->type_id_; | |
^~~~~~~~~~~~~~~~ | |
ext/jsoncons/src/jsoncons/json.hpp: In instantiation of ‘void jsoncons::basic_json<CharT, JsonTraits, Allocator>::variant::Destroy_() [with CharT = char; JsonTraits = jsoncons::json_traits<char>; Allocator = std::allocator<char>]’: | |
ext/jsoncons/src/jsoncons/json.hpp:678:21: required from ‘jsoncons::basic_json<CharT, JsonTraits, Allocator>::variant::~variant() [with CharT = char; JsonTraits = jsoncons::json_traits<char>; Allocator = std::allocator<char>]’ | |
ext/jsoncons/src/jsoncons/json.hpp:2249:5: required from ‘jsoncons::basic_json<CharT, JsonTraits, Allocator>::~basic_json() [with CharT = char; JsonTraits = jsoncons::json_traits<char>; Allocator = std::allocator<char>]’ | |
ext/jsoncons/src/jsoncons/json.hpp:3988:38: required from here | |
ext/jsoncons/src/jsoncons/json.hpp:686:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
reinterpret_cast<string_data*>(&data_)->~string_data(); | |
^~~~~~~~~~~~~~~~ | |
ext/jsoncons/src/jsoncons/json.hpp:689:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
reinterpret_cast<object_data*>(&data_)->~object_data(); | |
^~~~~~~~~~~~~~~~ | |
ext/jsoncons/src/jsoncons/json.hpp:692:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
reinterpret_cast<array_data*>(&data_)->~array_data(); | |
^~~~~~~~~~~~~~~~ | |
ext/jsoncons/src/jsoncons/json.hpp: In instantiation of ‘void jsoncons::basic_json<CharT, JsonTraits, Allocator>::variant::Destroy_() [with CharT = wchar_t; JsonTraits = jsoncons::json_traits<wchar_t>; Allocator = std::allocator<wchar_t>]’: | |
ext/jsoncons/src/jsoncons/json.hpp:678:21: required from ‘jsoncons::basic_json<CharT, JsonTraits, Allocator>::variant::~variant() [with CharT = wchar_t; JsonTraits = jsoncons::json_traits<wchar_t>; Allocator = std::allocator<wchar_t>]’ | |
ext/jsoncons/src/jsoncons/json.hpp:2249:5: required from ‘jsoncons::basic_json<CharT, JsonTraits, Allocator>::~basic_json() [with CharT = wchar_t; JsonTraits = jsoncons::json_traits<wchar_t>; Allocator = std::allocator<wchar_t>]’ | |
ext/jsoncons/src/jsoncons/json.hpp:3994:39: required from here | |
ext/jsoncons/src/jsoncons/json.hpp:686:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
reinterpret_cast<string_data*>(&data_)->~string_data(); | |
^~~~~~~~~~~~~~~~ | |
ext/jsoncons/src/jsoncons/json.hpp:689:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
reinterpret_cast<object_data*>(&data_)->~object_data(); | |
^~~~~~~~~~~~~~~~ | |
ext/jsoncons/src/jsoncons/json.hpp:692:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
reinterpret_cast<array_data*>(&data_)->~array_data(); | |
^~~~~~~~~~~~~~~~ | |
ext/jsoncons/src/jsoncons/json.hpp: In instantiation of ‘void jsoncons::basic_json<CharT, JsonTraits, Allocator>::variant::Destroy_() [with CharT = char; JsonTraits = jsoncons::o_json_traits<char>; Allocator = std::allocator<char>]’: | |
ext/jsoncons/src/jsoncons/json.hpp:678:21: required from ‘jsoncons::basic_json<CharT, JsonTraits, Allocator>::variant::~variant() [with CharT = char; JsonTraits = jsoncons::o_json_traits<char>; Allocator = std::allocator<char>]’ | |
ext/jsoncons/src/jsoncons/json.hpp:2249:5: required from ‘jsoncons::basic_json<CharT, JsonTraits, Allocator>::~basic_json() [with CharT = char; JsonTraits = jsoncons::o_json_traits<char>; Allocator = std::allocator<char>]’ | |
ext/jsoncons/src/jsoncons/json.hpp:4000:39: required from here | |
ext/jsoncons/src/jsoncons/json.hpp:686:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
reinterpret_cast<string_data*>(&data_)->~string_data(); | |
^~~~~~~~~~~~~~~~ | |
ext/jsoncons/src/jsoncons/json.hpp:689:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
reinterpret_cast<object_data*>(&data_)->~object_data(); | |
^~~~~~~~~~~~~~~~ | |
ext/jsoncons/src/jsoncons/json.hpp:692:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
reinterpret_cast<array_data*>(&data_)->~array_data(); | |
^~~~~~~~~~~~~~~~ | |
ext/jsoncons/src/jsoncons/json.hpp: In instantiation of ‘void jsoncons::basic_json<CharT, JsonTraits, Allocator>::variant::Destroy_() [with CharT = wchar_t; JsonTraits = jsoncons::o_json_traits<wchar_t>; Allocator = std::allocator<wchar_t>]’: | |
ext/jsoncons/src/jsoncons/json.hpp:678:21: required from ‘jsoncons::basic_json<CharT, JsonTraits, Allocator>::variant::~variant() [with CharT = wchar_t; JsonTraits = jsoncons::o_json_traits<wchar_t>; Allocator = std::allocator<wchar_t>]’ | |
ext/jsoncons/src/jsoncons/json.hpp:2249:5: required from ‘jsoncons::basic_json<CharT, JsonTraits, Allocator>::~basic_json() [with CharT = wchar_t; JsonTraits = jsoncons::o_json_traits<wchar_t>; Allocator = std::allocator<wchar_t>]’ | |
ext/jsoncons/src/jsoncons/json.hpp:4006:40: required from here | |
ext/jsoncons/src/jsoncons/json.hpp:686:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
reinterpret_cast<string_data*>(&data_)->~string_data(); | |
^~~~~~~~~~~~~~~~ | |
ext/jsoncons/src/jsoncons/json.hpp:689:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
reinterpret_cast<object_data*>(&data_)->~object_data(); | |
^~~~~~~~~~~~~~~~ | |
ext/jsoncons/src/jsoncons/json.hpp:692:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
reinterpret_cast<array_data*>(&data_)->~array_data(); | |
^~~~~~~~~~~~~~~~ | |
ext/jsoncons/src/jsoncons/json.hpp: In instantiation of ‘jsoncons::value_type jsoncons::basic_json<CharT, JsonTraits, Allocator>::variant::type_id() const [with CharT = wchar_t; JsonTraits = jsoncons::json_traits<wchar_t>; Allocator = std::allocator<wchar_t>]’: | |
ext/jsoncons/src/jsoncons/json.hpp:683:28: required from ‘void jsoncons::basic_json<CharT, JsonTraits, Allocator>::variant::Destroy_() [with CharT = wchar_t; JsonTraits = jsoncons::json_traits<wchar_t>; Allocator = std::allocator<wchar_t>]’ | |
ext/jsoncons/src/jsoncons/json.hpp:678:21: required from ‘jsoncons::basic_json<CharT, JsonTraits, Allocator>::variant::~variant() [with CharT = wchar_t; JsonTraits = jsoncons::json_traits<wchar_t>; Allocator = std::allocator<wchar_t>]’ | |
ext/jsoncons/src/jsoncons/json.hpp:2249:5: required from ‘jsoncons::basic_json<CharT, JsonTraits, Allocator>::~basic_json() [with CharT = wchar_t; JsonTraits = jsoncons::json_traits<wchar_t>; Allocator = std::allocator<wchar_t>]’ | |
ext/jsoncons/src/jsoncons/json.hpp:3994:39: required from here | |
ext/jsoncons/src/jsoncons/json.hpp:756:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
return reinterpret_cast<const base_data*>(&data_)->type_id_; | |
^~~~~~~~~~~~~~~~ | |
ext/jsoncons/src/jsoncons/json.hpp: In instantiation of ‘jsoncons::value_type jsoncons::basic_json<CharT, JsonTraits, Allocator>::variant::type_id() const [with CharT = char; JsonTraits = jsoncons::o_json_traits<char>; Allocator = std::allocator<char>]’: | |
ext/jsoncons/src/jsoncons/json.hpp:683:28: required from ‘void jsoncons::basic_json<CharT, JsonTraits, Allocator>::variant::Destroy_() [with CharT = char; JsonTraits = jsoncons::o_json_traits<char>; Allocator = std::allocator<char>]’ | |
ext/jsoncons/src/jsoncons/json.hpp:678:21: required from ‘jsoncons::basic_json<CharT, JsonTraits, Allocator>::variant::~variant() [with CharT = char; JsonTraits = jsoncons::o_json_traits<char>; Allocator = std::allocator<char>]’ | |
ext/jsoncons/src/jsoncons/json.hpp:2249:5: required from ‘jsoncons::basic_json<CharT, JsonTraits, Allocator>::~basic_json() [with CharT = char; JsonTraits = jsoncons::o_json_traits<char>; Allocator = std::allocator<char>]’ | |
ext/jsoncons/src/jsoncons/json.hpp:4000:39: required from here | |
ext/jsoncons/src/jsoncons/json.hpp:756:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
ext/jsoncons/src/jsoncons/json.hpp: In instantiation of ‘jsoncons::value_type jsoncons::basic_json<CharT, JsonTraits, Allocator>::variant::type_id() const [with CharT = wchar_t; JsonTraits = jsoncons::o_json_traits<wchar_t>; Allocator = std::allocator<wchar_t>]’: | |
ext/jsoncons/src/jsoncons/json.hpp:683:28: required from ‘void jsoncons::basic_json<CharT, JsonTraits, Allocator>::variant::Destroy_() [with CharT = wchar_t; JsonTraits = jsoncons::o_json_traits<wchar_t>; Allocator = std::allocator<wchar_t>]’ | |
ext/jsoncons/src/jsoncons/json.hpp:678:21: required from ‘jsoncons::basic_json<CharT, JsonTraits, Allocator>::variant::~variant() [with CharT = wchar_t; JsonTraits = jsoncons::o_json_traits<wchar_t>; Allocator = std::allocator<wchar_t>]’ | |
ext/jsoncons/src/jsoncons/json.hpp:2249:5: required from ‘jsoncons::basic_json<CharT, JsonTraits, Allocator>::~basic_json() [with CharT = wchar_t; JsonTraits = jsoncons::o_json_traits<wchar_t>; Allocator = std::allocator<wchar_t>]’ | |
ext/jsoncons/src/jsoncons/json.hpp:4006:40: required from here | |
ext/jsoncons/src/jsoncons/json.hpp:756:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment