Discussion:
qtserialbluetooth.cpp:80:1: sorry, unimplemented: non-trivial designated initializers not supported
Rick Walsh
2018-04-23 01:19:16 UTC
Permalink
Hi,

Attempting to build the current master (50b8044d5 Updated doc. for handling
of libdc) on Fedora 27 I get the error:

[ 53%] Building CXX object
core/CMakeFiles/subsurface_corelib.dir/qtserialbluetooth.cpp.o
/home/rick/src/subsurface/core/qtserialbluetooth.cpp:80:1: sorry,
unimplemented: non-trivial designated initializers not supported
};
^

I am building with qt 5.9.4-1 from the Fedora updates repo.

Cheers,

Rick
Dirk Hohndel
2018-04-23 01:32:54 UTC
Permalink
Hi,
[ 53%] Building CXX object core/CMakeFiles/subsurface_corelib.dir/qtserialbluetooth.cpp.o
/home/rick/src/subsurface/core/qtserialbluetooth.cpp:80:1: sorry, unimplemented: non-trivial designated initializers not supported
};
^
I am building with qt 5.9.4-1 from the Fedora updates repo.
You are building against the wrong version of libdivecomputer.

git submodule update

then rebuild in libdivecomputer/build and install into your local install-root

/D
Rick Walsh
2018-04-23 01:39:28 UTC
Permalink
Post by Rick Walsh
Post by Rick Walsh
Hi,
Attempting to build the current master (50b8044d5 Updated doc. for
[ 53%] Building CXX object core/CMakeFiles/subsurface_
corelib.dir/qtserialbluetooth.cpp.o
Post by Rick Walsh
/home/rick/src/subsurface/core/qtserialbluetooth.cpp:80:1: sorry,
unimplemented: non-trivial designated initializers not supported
Post by Rick Walsh
};
^
I am building with qt 5.9.4-1 from the Fedora updates repo.
You are building against the wrong version of libdivecomputer.
git submodule update
then rebuild in libdivecomputer/build and install into your local install-root
Thanks, that fixed it. I was under the mistaken impression that because I
ran scripts/build.sh that I wouldn't have to update any dependencies by
hand.

Rick
Dirk Hohndel
2018-04-23 03:55:22 UTC
Permalink
Post by Dirk Hohndel
You are building against the wrong version of libdivecomputer.
git submodule update
then rebuild in libdivecomputer/build and install into your local install-root
Thanks, that fixed it. I was under the mistaken impression that because I ran scripts/build.sh that I wouldn't have to update any dependencies by hand.
We should fix build.sh so that it notices if the libdivecomputer SHA has changed and rebuilds it.

/D

Loading...