From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin v. Loewis" To: shebs@apple.com Cc: gcc@gcc.gnu.org Subject: Re: Whatever happened to -fembedded-cxx? Date: Wed, 22 Mar 2000 15:54:00 -0000 Message-id: <200003222345.AAA01391@loewis.home.cs.tu-berlin.de> References: <38D9472C.445B17F0@apple.com> X-SW-Source: 2000-03/msg00587.html > At one point, it seems that Cygnus GCC or egcs or both had a flag > -fembedded-cxx that complained about C++ constructs that are not > part of the Embedded C++ subset. However, it doesn't seem to be > available in current sources. What's the story? I don't recall it ever being in egcs, so it must have been in Cygnus gcc. > (In case anybody is wondering why EC++ has reared its ugly head > again, Apple is specifying EC++ for its I/O driver kit for OS X. > And no, I wasn't around to influence that decision, but I will be > happy to take any relevant data/opinions and pass them along, hint > hint.) Well, I guess I can't say much more than has been said before, by other people and on other forums. EC++ does not do what it claims to do (in particular, the claim that it is a subset of standard C++), compilers don't (necessarily) perform the optimizations they are supposed to perform, and the selection of deleted features appears arbitrary considering the target audiencs. In particular, I fail to see why the removal of namespaces has any impact whatsoever on performance of target code; pretty much the same holds for the removal of templates. Regards, Martin