fs_extras compile fails (errno not declared in this scope)

2006-09-07 Thread Kayvan A. Sylvan
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../src   -I./.. -I../../boost -Wextra -Wall-I/usr/X11R6/include  -O2 
-MT fs_extras.lo -MD -MP -MF .deps/fs_extras.Tpo -c -o fs_extras.lo 
fs_extras.C; \
then mv -f .deps/fs_extras.Tpo .deps/fs_extras.Plo; else rm -f 
.deps/fs_extras.Tpo; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./.. -I../../boost -Wextra -Wall 
-I/usr/X11R6/include -O2 -MT fs_extras.lo -MD -MP -MF .deps/fs_extras.Tpo -c 
fs_extras.C -o fs_extras.o
fs_extras.C: In function 'void boost::filesystem::copy_file(const 
boost::filesystem::path, const boost::filesystem::path, bool)':
fs_extras.C:101: error: 'errno' was not declared in this scope
fs_extras.C:107: error: 'errno' was not declared in this scope
fs_extras.C:120: error: 'errno' was not declared in this scope
fs_extras.C:148: error: 'errno' was not declared in this scope
make[6]: *** [fs_extras.lo] Error 1
make[6]: Leaving directory 
`/home/kayvan/rpmbuild/BUILD/lyx-1.5.0svn/src/support'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory 
`/home/kayvan/rpmbuild/BUILD/lyx-1.5.0svn/src/support'
make[4]: *** [all] Error 2
make[4]: Leaving directory 
`/home/kayvan/rpmbuild/BUILD/lyx-1.5.0svn/src/support'
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan, | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | my beautiful Queen.| Robin Gregory (2/28/92)


pgpmq69amdoxc.pgp
Description: PGP signature


Re: fs_extras compile fails (errno not declared in this scope)

2006-09-07 Thread Georg Baum
Kayvan A. Sylvan wrote:

 fs_extras.C:101: error: 'errno' was not declared in this scope
 fs_extras.C:107: error: 'errno' was not declared in this scope
 fs_extras.C:120: error: 'errno' was not declared in this scope
 fs_extras.C:148: error: 'errno' was not declared in this scope make[6]:

This is fixed now. errno.h was not included.


Georg



Re: fs_extras compile fails (errno not declared in this scope)

2006-09-07 Thread Lars Gullik Bjønnes
Georg Baum [EMAIL PROTECTED] writes:

| Kayvan A. Sylvan wrote:
| 
|  fs_extras.C:101: error: 'errno' was not declared in this scope
|  fs_extras.C:107: error: 'errno' was not declared in this scope
|  fs_extras.C:120: error: 'errno' was not declared in this scope
|  fs_extras.C:148: error: 'errno' was not declared in this scope make[6]:
| 
| This is fixed now. errno.h was not included.

and should not be included ... we want cerrno

-- 
Lgb



Re: fs_extras compile fails (errno not declared in this scope)

2006-09-07 Thread Georg Baum
Lars Gullik Bjønnes wrote:

 and should not be included ... we want cerrno

Why? I don't know any advantage, only a disadvantage: Some compilers do not
have it.


Georg



Re: fs_extras compile fails (errno not declared in this scope)

2006-09-07 Thread Jean-Marc Lasgouttes
 Georg == Georg Baum [EMAIL PROTECTED] writes:

Georg Lars Gullik Bjønnes wrote:
 and should not be included ... we want cerrno

Georg Why? I don't know any advantage, only a disadvantage: Some
Georg compilers do not have it.

I think all compilers have it now.

JMarc


Re: fs_extras compile fails (errno not declared in this scope)

2006-09-07 Thread Georg Baum
Jean-Marc Lasgouttes wrote:

 Georg == Georg Baum
 [EMAIL PROTECTED]
 writes:
 
 Georg Lars Gullik Bjønnes wrote:
 and should not be included ... we want cerrno
 
 Georg Why? I don't know any advantage, only a disadvantage: Some
 Georg compilers do not have it.
 
 I think all compilers have it now.

OK I changed it, but I am still curious to hear why cerrno is better.


Georg



fs_extras compile fails (errno not declared in this scope)

2006-09-07 Thread Kayvan A. Sylvan
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../src   -I./.. -I../../boost -Wextra -Wall-I/usr/X11R6/include  -O2 
-MT fs_extras.lo -MD -MP -MF ".deps/fs_extras.Tpo" -c -o fs_extras.lo 
fs_extras.C; \
then mv -f ".deps/fs_extras.Tpo" ".deps/fs_extras.Plo"; else rm -f 
".deps/fs_extras.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./.. -I../../boost -Wextra -Wall 
-I/usr/X11R6/include -O2 -MT fs_extras.lo -MD -MP -MF .deps/fs_extras.Tpo -c 
fs_extras.C -o fs_extras.o
fs_extras.C: In function 'void boost::filesystem::copy_file(const 
boost::filesystem::path&, const boost::filesystem::path&, bool)':
fs_extras.C:101: error: 'errno' was not declared in this scope
fs_extras.C:107: error: 'errno' was not declared in this scope
fs_extras.C:120: error: 'errno' was not declared in this scope
fs_extras.C:148: error: 'errno' was not declared in this scope
make[6]: *** [fs_extras.lo] Error 1
make[6]: Leaving directory 
`/home/kayvan/rpmbuild/BUILD/lyx-1.5.0svn/src/support'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory 
`/home/kayvan/rpmbuild/BUILD/lyx-1.5.0svn/src/support'
make[4]: *** [all] Error 2
make[4]: Leaving directory 
`/home/kayvan/rpmbuild/BUILD/lyx-1.5.0svn/src/support'
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan, | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | my beautiful Queen.| Robin Gregory (2/28/92)


pgpmq69amdoxc.pgp
Description: PGP signature


Re: fs_extras compile fails (errno not declared in this scope)

2006-09-07 Thread Georg Baum
Kayvan A. Sylvan wrote:

> fs_extras.C:101: error: 'errno' was not declared in this scope
> fs_extras.C:107: error: 'errno' was not declared in this scope
> fs_extras.C:120: error: 'errno' was not declared in this scope
> fs_extras.C:148: error: 'errno' was not declared in this scope make[6]:

This is fixed now. errno.h was not included.


Georg



Re: fs_extras compile fails (errno not declared in this scope)

2006-09-07 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes:

| Kayvan A. Sylvan wrote:
| 
| > fs_extras.C:101: error: 'errno' was not declared in this scope
| > fs_extras.C:107: error: 'errno' was not declared in this scope
| > fs_extras.C:120: error: 'errno' was not declared in this scope
| > fs_extras.C:148: error: 'errno' was not declared in this scope make[6]:
| 
| This is fixed now. errno.h was not included.

and should not be included ... we want 

-- 
Lgb



Re: fs_extras compile fails (errno not declared in this scope)

2006-09-07 Thread Georg Baum
Lars Gullik Bjønnes wrote:

> and should not be included ... we want 

Why? I don't know any advantage, only a disadvantage: Some compilers do not
have it.


Georg



Re: fs_extras compile fails (errno not declared in this scope)

2006-09-07 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:

Georg> Lars Gullik Bjønnes wrote:
>> and should not be included ... we want 

Georg> Why? I don't know any advantage, only a disadvantage: Some
Georg> compilers do not have it.

I think all compilers have it now.

JMarc


Re: fs_extras compile fails (errno not declared in this scope)

2006-09-07 Thread Georg Baum
Jean-Marc Lasgouttes wrote:

>> "Georg" == Georg Baum
>> <[EMAIL PROTECTED]>
>> writes:
> 
> Georg> Lars Gullik Bjønnes wrote:
>>> and should not be included ... we want 
> 
> Georg> Why? I don't know any advantage, only a disadvantage: Some
> Georg> compilers do not have it.
> 
> I think all compilers have it now.

OK I changed it, but I am still curious to hear why cerrno is better.


Georg