Comments (2)
It also fails with strict-aliasing violations, specifically in the testsuite.
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../GNU -I.. -I../tests -I/usr/include/libxml2 -I/usr/include/tirpc --std=c++14 -g -O2 -march=native -fstack-protector-all -O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-clash-protection -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -Wformat -Werror=format-security -std=c++14 -c -o ddsT.o ddsT.cc
ddsT.cc: In member function ‘void ddsT::ddsT_test()’:
ddsT.cc:239:44: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
239 | vs_iter &vsi = (vs_iter &) vsc;
| ^~~
ddsT.cc:274:44: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
274 | vs_iter &vsi = (vs_iter &) vsc;
| ^~~
ddsT.cc:302:44: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
302 | vs_iter &vsi = (vs_iter &) vsc;
| ^~~
ddsT.cc:303:45: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
303 | vs_iter &vsi2 = (vs_iter &) vsc2;
| ^~~~
cc1plus: some warnings being treated as errors
Originally reported downstream: https://bugs.gentoo.org/878895
from libdap4.
OK, I'll look into this. Thanks.
from libdap4.
Related Issues (20)
- avoid mkstemps HOT 2
- unit-tests/HTTPCacheTest expects filesystem with 4KB blocks HOT 4
- SHA256 mismatch for libdap 3.19.1 HOT 7
- NULL pointer dereference in D4ParserSax2 HOT 2
- heap-buffer-overflow in libdap::XDRFileUnMarshaller::get_vector HOT 2
- 3.19.2 missing? HOT 1
- newly added tests are broken on big endian arches HOT 7
- using libtirpc instead of glibc RPC breaks EXPR tests on big endian arches HOT 3
- 3.20.5: test suite is failing HOT 6
- Clients using DAP4? HOT 3
- Please consider change git tagging convention HOT 1
- This is function should take an unsigned long long type as it's parameter HOT 1
- Grid::get_map_iter() function never returns an iterator for the first map HOT 2
- getdap4 some options not work HOT 3
- test suite fails on big endian arches after recent commit HOT 2
- error: 'uint32_t' does not name a type when compiling Vector.cc with gcc 13 HOT 2
- 404 with `https://www.opendap.org/pub/source/` HOT 2
- new test failures after recent change HOT 10
- ASAN misaligned address 0x611000006a99 for type 'dods...
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libdap4.