Ticket #1154 (closed defect: wontfix)

Opened 6 years ago

Last modified 4 years ago

--disable-deprecated breaks installation

Reported by: guest Owned by: pgavin
Priority: normal Milestone: 0.10.2
Component: build system Version: 0.9.13
Keywords: --disable-deprecated Cc: johanngiwer@…

Description

If I run configure --disable-deprecated && make , I get some errors like

gtk/Graphics/UI/Gtk/Types.chs:1831: (column 12) [ERROR]

>>> Unknown identifier!

and make fails.

With the --disable-deprecated switch symbols for deprecated widget defined in the gtk header files will not be included, but gtkhs tries to use them anyway.

Without this switch, compilation runs fine.

Greetings

Johann

johann ~/gtk2hs $ pkg-config --modversion 'gtk+-2.0'
2.12.11

johann ~/gtk2hs $ uname -a
Linux zitrone 2.6.27-gentoo-r8 #2 Tue Feb 3 23:24:03 CET 2009 i686 Intel(R) Pentium(R) III Mobile CPU 800MHz GenuineIntel? GNU/Linux

johann ~/gtk2hs $ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.8.3

Change History

Changed 6 years ago by Alvaro

Princess Leia:

Aren't you a little short for a stormtrooper?

acquista viagra farmacia online buy cheap fioricet headache acquista cialis where can i order tramadol

Changed 6 years ago by pgavin

  • owner changed from duncan to pgavin

Changed 6 years ago by pgavin

  • milestone set to 0.10.2

Changed 4 years ago by axel

  • status changed from new to closed
  • resolution set to wontfix

The disalbe-deprecated flag now works in 0.11.0 but has the milder semantics of not binding functions that we consider obsolete. These obsolete names include functions that are obsolete in the latest Gtk+ verison, but not all of them. In particular we do not support to pass DISABLED_DEPRECATED when pre-processing the C header files. This option turned out to be too high of a burden to support.

Note: See TracTickets for help on using tickets.