Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #58638

multiple header includes

From jeff <nospam@nospam.com>
Newsgroups comp.lang.c
Subject multiple header includes
Date 2015-03-22 10:02 +0000
Organization Aioe.org NNTP Server
Message-ID <mem3vs$6io$1@speranza.aioe.org> (permalink)

Show all headers | View raw


although in most cases we see the good practises of Header Guards, is 
there a risk for some architectures, that code like this,
#include<stdio.h>
#include<stdio.h>
(eg same header included twice), will invoke an Undefined Behavior?

thank you.

Back to comp.lang.c | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

multiple header includes jeff <nospam@nospam.com> - 2015-03-22 10:02 +0000
  Re: multiple header includes Lőrinczy Zsigmond <nospam@for.me> - 2015-03-22 11:14 +0100
  Re: multiple header includes Richard Heathfield <rjh@cpax.org.uk> - 2015-03-22 13:10 +0000
  Re: multiple header includes Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-03-22 08:12 -0700
  Re: multiple header includes Robbie Hatley <see.my.sig@for.my.address> - 2015-03-27 02:46 -0700
    Re: multiple header includes James Kuyper <jameskuyper@verizon.net> - 2015-03-27 09:32 -0400
      Re: multiple header includes Robbie Hatley <see.my.sig@for.my.address> - 2015-04-11 14:08 -0700
        Re: multiple header includes Keith Thompson <kst-u@mib.org> - 2015-04-11 19:49 -0700
    Re: multiple header includes Keith Thompson <kst-u@mib.org> - 2015-03-27 08:32 -0700
  Re: multiple header includes fir <profesor.fir@gmail.com> - 2015-04-12 11:35 -0700
    Re: multiple header includes fir <profesor.fir@gmail.com> - 2015-04-12 11:45 -0700
      Re: multiple header includes fir <profesor.fir@gmail.com> - 2015-04-12 11:58 -0700

csiph-web