Article View: gnu.g++
Article #348why can't functions with large aggregate parameters be inline?
From: Kurt Baudendistel
Date: Fri, 27 Jan 1989 16:33
Date: Fri, 27 Jan 1989 16:33
19 lines
1226 bytes
1226 bytes
i often get this warning message. why can't they? the only result
of this limitation of the compiler will be that i will start writing
my funtions as #defines, since i know that the functions are very
simple and i don't want function call overhead. i find that these types
of things often need to go into prototypable libraries, thus requiring
that the functions are NOT compiled, since this messes up the source
code management.
this is bad! the compiler is warping my programming style in a bad
way (using #defines rather than inline functions)!
what can be done about it?
thanks.
kurt
--
Kurt Baudendistel --- GRA
Georgia Tech, School of Electrical Engineering, Atlanta, GA 30332
uucp: ...!{allegra,hplabs,ulysses}!gatech!gt-eedsp!baud
internet: baud%gt-eedsp@gatech.edu
Technical Details
Message-ID:
<605@gt-eedsp.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!gatech!gt-eedsp!baudShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!gatech!gt-eedsp!baud From: baud@gt-eedsp.UUCP (Kurt Baudendistel) Newsgroups: gnu.g++ Subject: why can't functions with large aggregate parameters be inline? Keywords: c++, g++, functions, parameters, warnings Message-ID: <605@gt-eedsp.UUCP> Date: 27 Jan 89 16:33:36 GMT Organization: School of Electrical Engineering, Ga. Tech, Atlanta, GA 30332 Lines: 19