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


Groups > comp.lang.c > #97291

Re: Negative effects of c++ in C

From Noob <root@127.0.0.1>
Newsgroups comp.lang.c
Subject Re: Negative effects of c++ in C
Date 2016-11-22 18:32 +0100
Organization A noiseless patient Spider
Message-ID <o11vet$836$1@dont-email.me> (permalink)
References <o1160t$a5q$1@dont-email.me> <87r363y4dh.fsf@bsb.me.uk> <o11md9$4jd$1@dont-email.me> <o11q40$hd2$2@dont-email.me>

Show all headers | View raw


On 22/11/2016 17:01, jacobnavia wrote:

> Le 22/11/2016 à 15:58, David Brown a écrit :
>
>> You can minimise the tables by using the -fno-unwind-tables
>> -fno-asynchronous-unwind-tables flags.
> 
> I used -fno-unwind-tables with NO effect.

https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html

> -fexceptions
> 
> Enable exception handling. Generates extra code needed to propagate
> exceptions. For some targets, this implies GCC generates frame unwind
> information for all functions, which can produce significant data
> size overhead, although it does not affect execution. If you do not
> specify this option, GCC enables it by default for languages like C++
> that normally require exception handling, and disables it for
> languages like C that do not normally require it. However, you may
> need to enable this option when compiling C code that needs to
> interoperate properly with exception handlers written in C++. You may
> also wish to disable this option if you are compiling older C++
> programs that don't use exception handling.
> 
> -funwind-tables
> 
> Similar to -fexceptions, except that it just generates any needed
> static data, but does not affect the generated code in any other way.
> You normally do not need to enable this option; instead, a language
> processor that needs this handling enables it on your behalf.
> 
> -fasynchronous-unwind-tables
> 
> Generate unwind table in DWARF format, if supported by target
> machine. The table is exact at each instruction boundary, so it can
> be used for stack unwinding from asynchronous events (such as
> debugger or garbage collector).

Regards.

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


Thread

Negative effects of c++ in C jacobnavia <jacob@jacob.remcomp.fr> - 2016-11-22 11:18 +0100
  Re: Negative effects of c++ in C Noob <root@127.0.0.1> - 2016-11-22 11:46 +0100
    Re: Negative effects of c++ in C jacobnavia <jacob@jacob.remcomp.fr> - 2016-11-22 14:48 +0100
      Re: Big main() "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2016-11-22 21:51 +0800
      Re: Negative effects of c++ in C Noob <root@127.0.0.1> - 2016-11-22 15:29 +0100
      Re: Negative effects of c++ in C antispam@math.uni.wroc.pl - 2016-11-22 15:09 +0000
    Re: Negative effects of c++ in C jacobnavia <jacob@jacob.remcomp.fr> - 2016-11-22 16:58 +0100
  Re: Negative effects of c++ in C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-11-22 14:29 +0000
    Re: Negative effects of c++ in C David Brown <david.brown@hesbynett.no> - 2016-11-22 15:58 +0100
      Re: Negative effects of c++ in C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-11-22 15:55 +0000
      Re: Negative effects of c++ in C jacobnavia <jacob@jacob.remcomp.fr> - 2016-11-22 17:01 +0100
        Re: Negative effects of c++ in C Noob <root@127.0.0.1> - 2016-11-22 18:32 +0100
        Re: Negative effects of c++ in C David Brown <david.brown@hesbynett.no> - 2016-11-23 00:19 +0100
  [OT] It's only words... :) "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2016-11-22 22:55 +0800
    Re: [OT] It's only words... :) "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2016-11-22 22:57 +0800
  Re: Negative effects of c++ in C Ian Collins <ian-news@hotmail.com> - 2016-11-23 08:43 +1300
    Re: Negative effects of c++ in C jacobnavia <jacob@jacob.remcomp.fr> - 2016-11-22 21:14 +0100
    Re: Negative effects of c++ in C jacobnavia <jacob@jacob.remcomp.fr> - 2016-11-22 21:17 +0100
  Re: Negative effects of c++ in C rockbrentwood@gmail.com - 2016-11-23 15:41 -0800
    Re: Negative effects of c++ in C supercat@casperkitty.com - 2016-11-23 16:19 -0800
      Re: Negative effects of c++ in C David Brown <david.brown@hesbynett.no> - 2016-11-24 14:06 +0100
        Re: Negative effects of c++ in C supercat@casperkitty.com - 2016-11-24 07:36 -0800
          Re: Negative effects of c++ in C David Brown <david.brown@hesbynett.no> - 2016-11-25 00:23 +0100
            Re: Negative effects of c++ in C supercat@casperkitty.com - 2016-11-25 09:42 -0800
    Re: Negative effects of c++ in C Keith Thompson <kst-u@mib.org> - 2016-11-23 16:34 -0800
      Re: Negative effects of c++ in C David Brown <david.brown@hesbynett.no> - 2016-11-24 14:55 +0100

csiph-web