Sponsored Content
Top Forums Programming Need Help with g++ and/or codaLite Post 302384265 by Corona688 on Monday 4th of January 2010 04:41:03 PM
Old 01-04-2010
Quote:
Originally Posted by henslewm
My question pertains to the compilation error I am receiving from g++. At the top of the file cMsgRoc.cc the header file exists as

#include <string>

etc etc

the string.h file exists in /usr/include and contains the corresponding function so that I'm assuming it is up to date.
#include <string> includes something like /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/string, and not /usr/include/string.h. The C++ string headers have nothing to do with the C ones. Try adding the line
Code:
#include <string.h>

Or even strings.h, as strncasecmp's manpage suggests it needs.
 
PMPATH(1p)						User Contributed Perl Documentation						PMPATH(1p)

NAME
pmpath - show full path to a perl module SYNOPSIS
pmpath module ... DESCRIPTION
For each module name given as an argument, produces its full path on the standard output, one per line. EXAMPLES
$ pmpath CGI /usr/local/devperl/lib/5.00554/CGI.pm $ filsperl -S pmpath IO::Socket CGI::Carp /usr/local/filsperl/lib/5.00554/i686-linux-thread/IO/Socket.pm /usr/local/filsperl/lib/5.00554/CGI/Carp.pm $ oldperl -S pmpath CGI CGI::Imagemap /usr/lib/perl5/CGI.pm /usr/lib/perl5/site_perl/CGI/Imagemap.pm SEE ALSO
pmdesc(1), pmvers(1), pmcat(1). AUTHORS and COPYRIGHTS Copyright (C) 1999 Tom Christiansen. Copyright (C) 2006-2008 Mark Leighton Fisher. This is free software; you can redistribute it and/or modify it under the terms of either: (a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or (b) the Perl "Artistic License". (This is the Perl 5 licensing scheme.) Please note this is a change from the original pmtools-1.00 (still available on CPAN), as pmtools-1.00 were licensed only under the Perl "Artistic License". perl v5.10.1 2010-02-22 PMPATH(1p)
All times are GMT -4. The time now is 03:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy