Branch: Tag:

2013-11-14

2013-11-14 14:26:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fix warnings generated by Pike 8.0.

Note that some of the deprecation warnings have only been suppressed
in order to be compatible with Pike 7.8. These will have to be fixed
when the code is officially migrated to Pike 8.0 or later.

6:   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.1077 2011/01/20 14:01:02 grubba Exp $"; + constant cvs_version="$Id$";      //! @appears roxen   //!
579: Inside #if defined(THREADS)
  #ifdef THREADS   // function handle = threaded_handle;    - Thread do_thread_create(string id, function f, mixed ... args) + Thread.Thread do_thread_create(string id, function f, mixed ... args)   {    Thread.Thread t = thread_create(f, @args);    name_thread( t, id );
2263:   #endif    }    +  // NB: The TBS Tools.X509 API has been deprecated in Pike 8.0. + #pragma no_deprecation_warnings    void certificates_changed(Variable.Variable|void ignored,    void|int ignore_eaddrinuse)    {
2442:    report_notice (LOC_M(64, "TLS port %s opened.\n"), get_url());    }    } + #pragma deprecation_warnings       class CertificateListVariable    {