IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 16 years ago

Last modified 16 years ago

#1402 new defect

Continued type/integer size inconsistencies

Reported by: Michael Wood-Vasey Owned by: eugene
Priority: normal Milestone:
Component: psModules Version:
Severity: normal Keywords:
Cc:

Description

In compiling psModules with SVN HEAD as of today, Jul 2:


cc1: warnings being treated as errors
pmDark.c: In function ‘pmDarkCombine’:
pmDark.c:354: warning: cast from pointer to integer of different size
{standard input}:unknown:Undefined local symbol LC6
{standard input}:unknown:Undefined local symbol LC7
{standard input}:unknown:Undefined local symbol LC20
{standard input}:unknown:Undefined local symbol LC21
{standard input}:unknown:Undefined local symbol LC0
---

Similar errors encountered with psLib

Change History (3)

comment:1 by Michael Wood-Vasey, 16 years ago

Here was the psLib message:

---
cc1: warnings being treated as errors
psMetadata.c: In function ‘psMetadataPrint’:
psMetadata.c:1373: warning: format ‘%jd’ expects type ‘intmax_t’, but argument 3 has type ‘psS64’
psMetadata.c:1385: warning: format ‘%ju’ expects type ‘uintmax_t’, but argument 3 has type ‘psU64’
psMetadata.c:1460: warning: format ‘%ju’ expects type ‘uintmax_t’, but argument 3 has type ‘psU64’
psMetadata.c:1488: warning: format ‘%jd’ expects type ‘intmax_t’, but argument 3 has type ‘psS64’
{standard input}:unknown:Undefined local symbol LC44
{standard input}:unknown:Undefined local symbol LC45
---

comment:2 by eugene, 16 years ago

what hardware, O/S and gcc versions?

comment:3 by Michael Wood-Vasey, 16 years ago

Apologies. I should have included that with my initial report.

Mac OS X 10.6.4. MacPro Intel. gcc-4.2

Note: See TracTickets for help on using tickets.