Re: Please add extern "C"

From: Paul H. Hargrove (PHHargrove_at_lbl_dot_gov)
Date: Tue Oct 11 2005 - 12:39:49 PDT

  • Next message: Neal Becker: "Re: Please add extern "C""
    Neal,
    
    libcr.h already contains __BEGIN_DECLS and __END_DECLS (from
    sys/cdefs.h) which should expand to
      extern "C" {
    and
      }
    respectively when compiling w/ g++.
    
    Are you experiencing particular problems that suggest these macros are
    either not expanding as expected or perhaps are not placed correctly?
    
    -Paul
    
    Neal Becker wrote:
    >Please add extern "C" { ... } to libcr.h so it can be used (easily) from c++.  
    >Thanks.
    >  
    
    
    -- 
    Paul H. Hargrove                          PHHargrove_at_lbl_dot_gov
    Future Technologies Group                 
    HPC Research Department                   Tel: +1-510-495-2352
    Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900
    

  • Next message: Neal Becker: "Re: Please add extern "C""