Quantcast

4.4 limits.h issue ?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

4.4 limits.h issue ?

Danny Backx
When compiling PocketInvest, I got this error :
pavilion: {1120} make
arm-mingw32ce-gcc -c -g  -DWINCE -D_WIN32_IE=0x0400 -D_WIN32_WCE=0x0400
-DPOCKETINVEST -Wall  ../../src/sessionXi.c
../../src/sessionXi.c: In function 'ProcessOneLine':
../../src/sessionXi.c:349: error: 'PATH_MAX' undeclared (first use in
this function)
../../src/sessionXi.c:349: error: (Each undeclared identifier is
reported only once
../../src/sessionXi.c:349: error: for each function it appears in.)
../../src/sessionXi.c:349: warning: unused variable 'fn'
gmake: *** [sessionXi.o] Error 1
pavilion: {1121} make

which turned out to be caused by the fact that
  /opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/include-fixed/limits.h
got included, instead of
 /opt/mingw32ce/arm-mingw32ce/include/limits.h

Has anyone else seen this ? Opinions ?

        Danny
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Cegcc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 4.4 limits.h issue ?

Vincent Torri


On Tue, 25 Aug 2009, Danny Backx wrote:

> When compiling PocketInvest, I got this error :
> pavilion: {1120} make
> arm-mingw32ce-gcc -c -g  -DWINCE -D_WIN32_IE=0x0400 -D_WIN32_WCE=0x0400
> -DPOCKETINVEST -Wall  ../../src/sessionXi.c
> ../../src/sessionXi.c: In function 'ProcessOneLine':
> ../../src/sessionXi.c:349: error: 'PATH_MAX' undeclared (first use in
> this function)
> ../../src/sessionXi.c:349: error: (Each undeclared identifier is
> reported only once
> ../../src/sessionXi.c:349: error: for each function it appears in.)
> ../../src/sessionXi.c:349: warning: unused variable 'fn'
> gmake: *** [sessionXi.o] Error 1
> pavilion: {1121} make
>
> which turned out to be caused by the fact that
>  /opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/include-fixed/limits.h
> got included, instead of
> /opt/mingw32ce/arm-mingw32ce/include/limits.h
>
> Has anyone else seen this ? Opinions ?

I had that issue with the previous version of gcc.

Vincent Torri

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Cegcc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 4.4 limits.h issue ?

Danny Backx
On Wed, 2009-08-26 at 10:59 +0200, Vincent Torri wrote:

>
> On Tue, 25 Aug 2009, Danny Backx wrote:
>
> > When compiling PocketInvest, I got this error :
> > pavilion: {1120} make
> > arm-mingw32ce-gcc -c -g  -DWINCE -D_WIN32_IE=0x0400 -D_WIN32_WCE=0x0400
> > -DPOCKETINVEST -Wall  ../../src/sessionXi.c
> > ../../src/sessionXi.c: In function 'ProcessOneLine':
> > ../../src/sessionXi.c:349: error: 'PATH_MAX' undeclared (first use in
> > this function)
> > ../../src/sessionXi.c:349: error: (Each undeclared identifier is
> > reported only once
> > ../../src/sessionXi.c:349: error: for each function it appears in.)
> > ../../src/sessionXi.c:349: warning: unused variable 'fn'
> > gmake: *** [sessionXi.o] Error 1
> > pavilion: {1121} make
> >
> > which turned out to be caused by the fact that
> >  /opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/include-fixed/limits.h
> > got included, instead of
> > /opt/mingw32ce/arm-mingw32ce/include/limits.h
> >
> > Has anyone else seen this ? Opinions ?
>
> I had that issue with the previous version of gcc.

Would it be a good idea to remove limits.h from the include-fixed
directory ?

        Danny
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Cegcc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Loading...