From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5590 invoked by alias); 26 Jan 2011 08:19:57 -0000 Received: (qmail 5579 invoked by uid 22791); 26 Jan 2011 08:19:56 -0000 X-SWARE-Spam-Status: No, hits=0.5 required=5.0 tests=AWL,BAYES_40,RDNS_DYNAMIC,T_FILL_THIS_FORM_SHORT X-Spam-Check-By: sourceware.org Received: from host-82-135-62-35.customer.m-online.net (HELO mail.embedded-brains.de) (82.135.62.35) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 26 Jan 2011 08:19:49 +0000 Received: by mail.embedded-brains.de (Postfix, from userid 65534) id 3B02B65F2E2; Wed, 26 Jan 2011 09:19:45 +0100 (CET) Received: from [192.168.96.31] (eb0011.eb.z [192.168.96.31]) by mail.embedded-brains.de (Postfix) with ESMTP id 90F2165F2E1 for ; Wed, 26 Jan 2011 09:19:45 +0100 (CET) Message-ID: <4D3FD921.2040107@embedded-brains.de> Date: Wed, 26 Jan 2011 08:19:00 -0000 From: Sebastian Huber User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101125 SUSE/3.0.11 Lightning/1.0b1 Thunderbird/3.0.11 MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: Use with GCC C Compiler Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-01/txt/msg00370.txt.bz2 Hello, the experimental part of the GCC C++ compiler provides the and header files and implementation which may be part of a future C++ and C standard. As far as I understand the is provided for C programs? If I include in a C source file and try to compile it with the GCC C compiler I get this: fatal error: stdatomic.h: No such file or directory. Do I need some magic options to let the GCC C compiler find this header file, e.g. -I /ugly/path/to/include/c++? Have a nice day! -- Sebastian Huber, embedded brains GmbH Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany Phone : +49 89 18 90 80 79-6 Fax : +49 89 18 90 80 79-9 E-Mail : sebastian.huber@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.