Stop! Tickets are now managed at GitHub.

Please enter new tickets, and find and edit existing tickets there:


Ticket #141 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

alex generates warnings on powerpc linux

Reported by: erikd Owned by: SimonMarlow
Priority: minor Milestone:
Component: alex Keywords:
Cc:

Description

Using alex in Ben Lippmeier's DDC compiler and would like to develop with -Werror. This is fine on i386 and x86_64, but on powerpc, alex generates code that generates warnings when run through ghc.

Ghc version is 6.12.1 and Alex is 2.3.3. The warnings attached.

Attachments

alex-warnings.txt (10.4 kB) - added by erikd 4 years ago.
Warnings from Alex generated code.
fix-warnings-from-ghc-on-big-endian-cpus_.dpatch (2.0 kB) - added by erikd 4 years ago.
Patch to fix the problem

Change History

Changed 4 years ago by erikd

Warnings from Alex generated code.

Changed 4 years ago by erikd

Patch to fix the problem

Changed 4 years ago by refold

I think you should just send your patch to Simon Marlow.

Changed 4 years ago by erikd

Patch forwarded directly to Simon Marlow.

Changed 4 years ago by erikd

Simon Marlow has accepted the patch and committed it do the darcs repo.

Changed 4 years ago by refold

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.