473,839 Members | 1,467 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Missing Deprecated Warnings

When I did some trial conversions of a .Net 1.1 c# web app earlier this year
I got the expected Deprecation warnings, e.g. for
Page.RegisterSt artupScript. Now I am doing the real conversion and the first
thing I notice is that I am not getting any warnings, even though the
Page.RegisterSt artupScript calls are still there. I know about those, so I
can find and fix. But there could be other usages of deprecated methods that
I donlt know about.

I've looked for compiler settings that might stop the warnings being
generated, but can't find anything.

Any ideas woudl be much appreciated

Dave
Sep 25 '07 #1
2 1388
David,

Are you sure that your explorer error warnings are not set off by any kind
of automatic upgrade, something that I have the idea that happened at least
once to me?

Cor

"David" <da****@NOSPAM2 3dantedsystems. co.ukschreef in bericht
news:iq******** ***********@fe1 .news.blueyonde r.co.uk...
When I did some trial conversions of a .Net 1.1 c# web app earlier this
year I got the expected Deprecation warnings, e.g. for
Page.RegisterSt artupScript. Now I am doing the real conversion and the
first thing I notice is that I am not getting any warnings, even though
the Page.RegisterSt artupScript calls are still there. I know about those,
so I can find and fix. But there could be other usages of deprecated
methods that I donlt know about.

I've looked for compiler settings that might stop the warnings being
generated, but can't find anything.

Any ideas woudl be much appreciated

Dave
Sep 27 '07 #2
Hi Cor

Thanks for replying. My problem is that I am not getting the "deprecated "
warnings when I should.
I can;t find a way to turn them on - they should be on by default I think.

David

"Cor Ligthert[MVP]" <no************ @planet.nlwrote in message
news:8A******** *************** ***********@mic rosoft.com...
David,

Are you sure that your explorer error warnings are not set off by any kind
of automatic upgrade, something that I have the idea that happened at
least once to me?

Cor

"David" <da****@NOSPAM2 3dantedsystems. co.ukschreef in bericht
news:iq******** ***********@fe1 .news.blueyonde r.co.uk...
>When I did some trial conversions of a .Net 1.1 c# web app earlier this
year I got the expected Deprecation warnings, e.g. for
Page.RegisterS tartupScript. Now I am doing the real conversion and the
first thing I notice is that I am not getting any warnings, even though
the Page.RegisterSt artupScript calls are still there. I know about those,
so I can find and fix. But there could be other usages of deprecated
methods that I donlt know about.

I've looked for compiler settings that might stop the warnings being
generated, but can't find anything.

Any ideas woudl be much appreciated

Dave

Sep 28 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2864
by: Michael G | last post by:
I am getting some errors/warnings that I don't understand. This code is in a Java app that uses Swing J Components with an ActionListener. The code/errors/warnings follow. Thanks for any help, Mike import javax.swing.*; import java.awt.event.*; import java.awt.*; public class GraphicalImp extends UIImp implements ActionListener {
45
11739
by: Matt Parkins | last post by:
Hi, (I realise this probably isn't precisely the right group for this - could someone direct me to the appropriate group to post this question? - thanks !) I'm using Visual C++ 2005 Express Edition Beta (free download from MS - hooray!), and everything works fine, except I get warnings back on the use of some functions, strlen() for example, saying that the function has been deprecated - although they do still work (which is I guess...
5
7436
by: Anton Pervukhin | last post by:
Hello! Imagine the situation you have a class that interprets the command line of the program you are executing. This class is written by third party and has a main function parse with arguments the same as main: ClassA::parse(char **argv, int argc) While trying to write test cases for this function I came across the warnings appeared when I tried to initialize 'char** argv' straightly
3
2964
by: Generic Usenet Account | last post by:
This is a two-part question. (1) I have implemented a "Datastructure Registry" template class. I am getting no compiler warnings with older compilers, but newer compilers are generating the following error messages: warning: implicit typename is deprecated, please see the documentation for details Can someone kindly suggest how to get rid of these warnings? The source code follows.
9
3347
by: Robert | last post by:
Hi, Currently I am using argument.callee.caller.arguments to get the arguments of the caller function, but Firefox complains that arguments (of Function) is deprecated. Is there a way to get the arguments of the calling function in a non-deprecated way?
2
6600
by: Jonathan Mcdougall | last post by:
Visual studio 2005 reports main.cpp(8) : warning C4996: 'std::basic_string<_Elem,_Traits,_Ax>::copy' was declared deprecated with this program: # include <string> int main()
24
7075
by: marcwentink | last post by:
Is there a way to turn off depreacted warnings in Visual Studio 2005, Professional Edition? I've got this VB project ported from version 2003 to 2005, I am a bit cautious to already changing the code that much that it could not be ported back, but I got a few hundred warnings saying things like: 'Public Function Add(parameterName As String, value As Object) As System.Data.SqlClient.SqlParameter' is obsolete: 'Add(String parameterName,...
25
4701
by: Alex Popescu | last post by:
Hi all! I am pretty sure this has been asked a couple of times, but I don't seem to find it on the archives (Google seems to have a couple of problems lately). I am wondering what is the most pythonic way of dealing with missing keys and default values. According to my readings one can take the following approaches:
9
26364
by: Eric | last post by:
I am working on a large, old code base and attempting to move it to GCC 4.2. Throughout the code, there is stuff like: char *aVar = "aString"; or void aFunc( char *aVar) { ... } aFunc( "aString" );
0
9697
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10908
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10648
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9426
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7828
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5682
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5866
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4484
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3134
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.