Article View: borland.public.cppbuilder.nativeapi
Article #12972shellapi and obsolete style
From: Michael Powell
Date: Sat, 01 Nov 2003 16:33
Date: Sat, 01 Nov 2003 16:33
20 lines
1517 bytes
1517 bytes
Source code I have inherited yields the following warnings and errors when I
build it using C++Builder 6. The code does appear to be including the
following...
#include <shellapi>
The errors are...
[C++ Warning] shellapi.h(55): W8054 Style of function definition is now
obsolete
[C++ Error] shellapi.h(55): E2275 { expected
[C++ Error] shellapi.h(57): E2141 Declaration syntax error
[C++ Error] shellapi.h(58): E2238 Multiple declaration for 'EXTERN_C'
[C++ Error] shellapi.h(57): E2344 Earlier declaration of 'EXTERN_C'
...
Any ideas how to overcome this noise?
Regards,
Michael Powell
Technical Details
Message-ID:
<3fa3e01e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,5c9d306c5a29fa92,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-11-01 08:36:25 PST From: "Michael Powell" <powellmw@comcast.net> Newsgroups: borland.public.cppbuilder.nativeapi Subject: shellapi and obsolete style Date: Sat, 1 Nov 2003 09:33:13 -0700 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 68.35.190.58 Message-ID: <3fa3e01e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1067704350 68.35.190.58 (1 Nov 2003 08:32:30 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail