Trying to debug the cygwin installer that isn't able to reread where it saves the pakages, I wanted to compiler the installer as Winelib.
running 'winemaker .' in setup source dir fails when analysing IOStreamProvider.h, at line 1193 in winemaker.
I attached the file.
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
/* * Copyright (c) 2002, Robert Collins. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * A copy of the GNU General Public License can be found at * http://www.gnu.org/ * * Written by Robert Collins rbtcollins@hotmail.com * */
#ifndef _IOSTREAMPROVIDER_H_ #define _IOSTREAMPROVIDER_H_
#include "io_stream.h" #include "String++.h"
/* An IOStreamProvider provides the interface for io_stream::open and * related calls to operate. */
class IOStreamProvider { public: virtual int exists (String const &) const = 0; virtual int remove (String const &) const = 0; virtual int mklink (String const &, String const &, io_stream_link_t) const = 0; virtual io_stream *open (String const &,String const &) const = 0; virtual ~IOStreamProvider (){} virtual int move (String const &,String const &) const = 0; virtual int mkdir_p (enum path_type_t isadir, String const &path) const = 0; String key; // Do not set - managed automatically. protected: IOStreamProvider(){} // no base instances IOStreamProvider(IOStreamProvider const &); // no copy cons IOStreamProvider &operator=(IOStreamProvider const &); // no assignment };
#endif /* _IOSTREAMPROVIDER_H_ */