[sane-devel] compilation problems under HP-UX

Ulrich Deiters ukd@xenon.pc.Uni-Koeln.DE
Sat, 22 May 2004 0:35:17 METDST


The main problem is solved: The loader error occurs at optimization
level +O3 only (which includes function inlining). Level +O2
(equivalent to -O) is safe.

However, the HP compiler reports a few errors:

- sanei/sanei_pp.c, line 125: "#warning" is not a permissible
  preprocessor statement. As mentioned before, this line can
  (and should be) removed without creating troubles.

- backend/snapscan.c, line 86: The HP compiler does not know
  what an __attribute__ might be.

- backend/hp5400_internal.c, line 469ff: Some complaint about
  incompatible pointer types.

Perhaps the backend maintainers could look into this.

Best regards,

Ulrich Deiters