Menu

#1020 types.h removed

closed-wont-fix
package (15)
5
2011-07-07
2011-07-07
No

Seems you removed curl/types.h in 7.21.7 which creates build problems for existing projects including that file.
Perhaps you could have kept that file and print a deprecation warning to let people know they should stop including this file and later remove types.h ?

Discussion

  • Daniel Stenberg

    Daniel Stenberg - 2011-07-07
    • status: open --> closed-wont-fix
     
  • Daniel Stenberg

    Daniel Stenberg - 2011-07-07

    Possibly I _could_ have done that, but there's no decent way to portably "print a deprecation warning" and as the removal has already been done I actually think the better way forward is to fix the programs that are still using the header we blanked out almost 7 years ago.

    I'm sorry for doing the removal that way. It wasn't clever. But I don't think reverting it will bring any good.

    If you think otherwise, please take the discussion to the curl-library mailing list.