|
|
Choosing A Webhost: |
RE: __func__ vs. __FUNCTION__: msg#00245db.tds.freetds
> > > > IIRC, this won't work. __FUNCTION__ is not "real" defined > macro and it > > cannot be checked by #ifdef, at least gcc manual says so. > > I see. Quite right, as a simple test program shows: > > #include <stdio.h> > > int main() > { > #ifdef __FUNCTION__ > char msg[] = "__FUNCTION__\n"; > #else > char msg[] = "no __FUNCTION__\n"; > #endif > puts(msg); > } > > Looks like a job for AC_TRY_COMPILE. If we want to use the > feature at all. :-/ > IMHO replacing __func__/__FUNCTION__ manually with real function name is the best solution... freddy77
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Patch, ZIGLIO Frediano |
|---|---|
| Next by Date: | RE: new configuration settings, ZIGLIO Frediano |
| Previous by Thread: | RE: __func__ vs. __FUNCTION__, Lowden, James K |
| Next by Thread: | [ freetds-Patches-831132 ] configuration issue on Interix-not a patch for freetds, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |