Opened 10 years ago
Closed 9 years ago
#46778 closed defect (fixed)
libvisio-0.1 @0.1.1 fails building on 10.5.8. PPC
Reported by: | udbraumann | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | libvisio-0.1 |
Description
Installing libvisio-0.1
for the first time lets me end up with this:
:info:build CXX VSDMetaData.lo :info:build VSDMetaData.cpp:229: error: integer constant is too large for 'long' type :info:build make[3]: *** [VSDMetaData.lo] Error 1
This particular line 229 looks like this:
static const uint64_t epoch = 11644473600;
Any ideas?
Attachments (1)
Change History (6)
Changed 10 years ago by udbraumann
Attachment: | main.log.gz added |
---|
comment:1 Changed 10 years ago by udbraumann
As I could figure out in between, one can work around this problem specifying a non-Xcode compiler:
$ sudo port install libvisio-0.1 configure.compiler=macports-gcc-4.9
However, a fix for a solution accepting gcc from Xcode 4.2 should be possible.
comment:2 Changed 10 years ago by larryv (Lawrence Velázquez)
Cc: | devans@… removed |
---|---|
Keywords: | constant is too large removed |
Owner: | changed from macports-tickets@… to devans@… |
comment:3 follow-up: 4 Changed 9 years ago by dbevans (David B. Evans)
Status: | new → assigned |
---|---|
Version: | 2.3.3 |
Please retest with latest version 0.1.5 committed in . The line you mention now reads
const uint64_t epoch = uint64_t(116444736UL) * 100;
which should fix your issue. Let us know in any case so we can close this ticket. Thanks.
comment:5 Changed 9 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Great.
Note: See
TracTickets for help on using
tickets.
build log