Opened 5 years ago

Last modified 3 years ago

#275 new defect

Compile error with OSX clang

Reported by: wichert@… Owned by: jtv
Priority: normal Component: other
Severity: Unusable Keywords:


:info:build libtool: compile:  /usr/bin/clang++ -DHAVE_CONFIG_H -I../include -I../include -I/opt/local/include/postgresql92 -I/opt/local/include -pipe -Os -arch x86_64 -MT notify-listen.lo -MD -MP -MF .deps/notify-listen.Tpo -c notify-listen.cxx -o notify-listen.o >/dev/null 2>&1
:info:build In file included from largeobject.cxx:31:
:info:build In file included from ../include/pqxx/largeobject:19:
:info:build ../include/pqxx/largeobject.hxx:409:5: error: call to constructor of 'pqxx::largeobjectaccess' is ambiguous
:info:build     m_Obj(T, O),
:info:build     ^     ~~~~
:info:build ../include/pqxx/largeobject.hxx:175:12: note: candidate constructor
:info:build   explicit largeobjectaccess(dbtransaction &T,
:info:build            ^
:info:build ../include/pqxx/largeobject.hxx:187:3: note: candidate constructor
:info:build   largeobjectaccess(dbtransaction &T,
:info:build   ^
:info:build libtool: compile:  /usr/bin/clang++ -DHAVE_CONFIG_H -I../include -I../include -I/opt/local/include/postgresql92 -I/opt/local/include -pipe -Os -arch x86_64 -MT connection_base.lo -MD -MP -MF .deps/connection_base.Tpo -c connection_base.cxx -o connection_base.o >/dev/null 2>&1
:info:build 1 error generated.
:info:build make[1]: *** [largeobject.lo] Error 1
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build mv -f .deps/notify-listen.Tpo .deps/notify-listen.Plo

Change History (3)

comment:1 Changed 4 years ago by RichardWef

  • version set to 3.1
Last edited 3 years ago by jtv (previous) (diff)

comment:2 Changed 3 years ago by jtv

I regularly test libpqxx against clang++... Could it just be an old version?

comment:3 Changed 3 years ago by jtv

  • milestone 3.1 deleted

Milestone 3.1 deleted

Note: See TracTickets for help on using tickets.