On Sat, 2019-03-23 at 21:55 +0530, Vinaya Dandur wrote:
> Thank you. Yes it is not an issue with the GCC but the TRAP_BRKPT is
> defined in signal.h which the GCC could include but can't find the
> constant mentioned.
> Is there any way this problem could be resolved ? any pointers I can
> get ?

If the macro is defined in signal.h then you should #include signal.h. 
Is there some issue here we're not seeing?

> > > Program:
> > > ++++++++++
> > > #include <stdio.h>
> > > #include <sys/resource.h>
> > > 
> > > int main () {
> > > 
> > > printf("TRAP_BRKPT is: %d\n", TRAP_BRKPT);
> > > 
> > > return 0;
> > > }
> > > +++++++

Questions about how to write correct C are definitely not on-topic for
this mailing list.  Maybe try posting a question on StackOverflow?

Cheers!

Reply via email to