This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: c++/4395: This problem appear when I try to use sa_sigaction field in struc sigaction. All fields was filled propertly.


Synopsis: This problem appear when I try to use sa_sigaction  field in struc sigaction. All fields was filled propertly.

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Thu Sep 27 20:34:16 2001
State-Changed-Why:
    I did not get an internal compiler error when compiling
    this testcase with gcc 3.0.1.
    I got some compilation errors, complaining
    about missing member variables in structs.
    
    I could compile your testcase by changing:
    
               my_act[sig]. __sigaction_handler.sa_handler  = doit; 
    
    to
    
               my_act[sig].sa_handler  = doit; 
    
    and
    
             my_act[sig]. __sigaction_handler.sa_handler  = doit; 
    
    to:
    
             my_act[sig].sa_handler  = doit; 
    
    
    I have attached the fixed test case to this problem report.
    

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4395&database=gcc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]