pb with #error in <values.h>

pb with #error in <values.h>

Post by Xavier 48879 LV00385 VS/EW » Sat, 13 Sep 1997 04:00:00



Here is my .c

#include <values.h>

main()
{

Quote:}

cc f.c
gives me

/usr/include/values.h: 98: undefined control
/usr/include/values.h: 119: undefined control

after some hours, we find that our cpp does no more accept

#error

instructions...

What is very strange, that we do not change anything on the system !
it compiles at 8:00 pm
at 11:00 it no more compiles...

what is the problem ?!?
- patch ?!?
- bug on cpp ?!?
- do we #define something ?!?
- else ???

thanks a lot !!

--
----------------------------               -------------------------------------
    Frederic Gonot 47954         ````'                            ensimag'93
    VS/ESE4 67/1/13              (o o)                       S12INT::LV00017

----------------------------               -------------------------------------

 
 
 

pb with #error in <values.h>

Post by Xavier 48879 LV00385 VS/EW » Sat, 13 Sep 1997 04:00:00


yes
i forgot that:

        uname -a
SunOS slsc47t 5.5.1 Generic sun4d sparc SUNW,SPARCserver-1000
--
XL the LX-Spiritblades-man
----------------------------------------------------------------------
 Xavier  Ligeret                 SEL : VS/EWE3
                                 tel : +49 (0) 711 / 821 48 879
 Silberburgstrasse 155           fax : +49 (0) 711 / 821 48 600

 tel : +49 (0) 711 / 61 53 198   WWW : http://www.igd.fhg.de/~ligeret
----------------------------------------------------------------------

 
 
 

pb with #error in <values.h>

Post by Casper H.S. Dik - Network Security Engine » Fri, 19 Sep 1997 04:00:00


[[ Reply by email or post, don't do both ]]


Quote:>cc f.c
>gives me
>/usr/include/values.h: 98: undefined control
>/usr/include/values.h: 119: undefined control
>after some hours, we find that our cpp does no more accept

Are you using /usr/ucb/cc?

Use /opt/SUNWspro/bin/cc

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

 
 
 

1. #define NOERROR in <sys/stream.h> and <arpa/nameser.h>

While compiling a CAP server for Solaris 2.2, I got an error
message from gcc noting duplicate defines.

NOERROR is 0 in one of the files and -1 in the other.

Probably this doesn't cause any trouble for me...

Is it defined to be an error for both files to be included in
one compilation?  Or is this supposed to be fixed in the include files?

--

Keck Laboratory for Biomolecular Imaging
NYU Chemistry Deptartment, 31 Washington Place, New York NY 10003

2. bootmanager (os2) and linux

3. Kernel include files <sys/socket.h> and <linux/in.h>

4. New: 2.5.62-bk5 compile failure with gcc-2.95

5. include files <sys/ipc.h> and <sys/shm.h>

6. lpr prints too nicely!

7. #include <asm/bitops.h> -> #include <linux/bitops.h>

8. key map

9. 1.3.98: <linux/if_arp.h> needs to include <linux/netdevice.h>

10. Include <linux/stddef.h> in <linux/list.h>

11. <<<<<soundconfig problem <<<<<<<

12. [TRIVIAL] Add back in <asm/system.h> and <linux/linkage.h> to <linux/interrupt.h>

13. I need a example of X .twmrc file PLEASE <<<<<<<<<<<<<<<<<<<<<