[odb-users] "vector_base::_arm" redeclared without
dllimport
Adnan RIHAN
axel50397 at gmail.com
Mon Jun 1 13:49:01 EDT 2015
I have added this LDFLAGS when compiling libodb, libodb-sqlite, libodb-qt.
Ok, thanks for the reply.
On 1 juin 2015 at 19:45:01, Boris Kolpackov (boris at codesynthesis.com) wrote:
Hi Adnan,
Adnan RIHAN <axel50397 at gmail.com> writes:
> C:\msys\1.0\local\include/odb/vector-impl.ixx:194:15: warning:
> 'void odb::vector_base::_arm(odb::transaction&) const' redeclared
> without dllimport attribute after being referenced with dll linkage
I've see those before as well but with the more recent GCC (4.9) and
MinGW-W64, they are gone. In fact, with 2.4.0, our tests and examples
build without any warnings. So I assume this was a GCC issue that got
fixed.
Note also that we use the --enable-auto-import option when building
for MinGW. That is:
./configure ... LDFLAGS=-Wl,--enable-auto-import
Boris
--
Cordialement, Adnan RIHAN.
Directeur-Gérant de Eolis-Software, société de services informatiques.
GPG: 5675-62BA (https://keybase.io/max13/key.asc)
-> Si vous n'utilisez pas GPG mais souhaitez quand même m’envoyer un e-mail chiffré: (https://encrypt.to/0x567562BA).
More information about the odb-users
mailing list