This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: lint setup.hint/setup.ini


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Brian Dessent wrote:
> If you configure setup with --enable-inilint it should build the inilint
> tool as a standalone app.  I don't know if it has bitrotted to pieces or
> not.

That's good to know.  But trying to build inilint in the current
snapshot sources leads to the following:

depbase=`echo inilintmain.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if g++ -mno-cygwin -DPACKAGE_NAME=\"setup\"
- -DPACKAGE_TARNAME=\"setup\" -DPACKAGE_VERSION=\"0\"
- -DPACKAGE_STRING=\"setup\ 0\"
- -DPACKAGE_BUGREPORT=\"cygwin-apps@cygwin.com\" -DSTDC_HEADERS=1
- -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
- -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
- -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
- -DHAVE_LIBMINGW32=1 -DHAVE_ERRNO_H=1 -DHAVE_STRING=1 -DHAVE_STRING_H=1
- -I. -I. -I./libgetopt++/include   -Werror -Wall -Wno-uninitialized
- -Wpointer-arith -Wcomments -Wcast-align -Wwrite-strings -O2 -pipe  -MT
inilintmain.o -MD -MP -MF "$depbase.Tpo" -c -o inilintmain.o
inilintmain.cc; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f
"$depbase.Tpo"; exit 1; fi

In file included from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/backward/strstream:51,
                 from inilintmain.cc:23:
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/backward/backward_warning.h:32:2:
 #warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section
17.4.1.2 of the C++ standard. Examples include substituting the <X>
header for the <X.h> header for C++ includes, or <iostream> instead of
the deprecated header <iostream.h>. To disable this warning use
- -Wno-deprecated.
inilintmain.cc:27: error: `ostrstream' does not name a type
inilintmain.cc: In function `int yyerror(const std::string&)':
inilintmain.cc:33: error: `ostrstream' undeclared (first use this function)
inilintmain.cc:33: error: (Each undeclared identifier is reported only
once for each function it appears in.)
inilintmain.cc:33: error: expected `;' before "buf"
inilintmain.cc:34: error: `buf' undeclared (first use this function)
inilintmain.cc:35: error: `endl' undeclared (first use this function)
inilintmain.cc:36: error: `cout' undeclared (first use this function)
inilintmain.cc:37: error: `error_buf' undeclared (first use this function)
inilintmain.cc: In function `void show_help()':
inilintmain.cc:46: error: `cout' undeclared (first use this function)
inilintmain.cc:46: error: `endl' undeclared (first use this function)
inilintmain.cc: In function `int main(int, char**)':
inilintmain.cc:53: error: nomatching function for call to
`GetOption::Process(int&, char**&)'
libgetopt++/include/getopt++/OptionSet.h:30: note: candidates are:
virtual bool OptionSet::Process(int, char**, Option*)
libgetopt++/include/getopt++/OptionSet.h:31: note:  virtual bool
OptionSet::Process(const std::vector<std::string,
std::allocator<std::string> >&, Option*)

> Is this the one on the Cygwin Ports site?  If you give me a link to the
> .ini file I'll try to debug setup.exe with it.

Not yet, it's only on my machine at the moment.


Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGJu06piWmPGlmQSMRCAh7AKCfYfU0q493vIwlLr62HhtjVwM72gCcCc3/
5YmjW3i53JstPzN9aB90kx0=
=YAOR
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]