disable a not helpful warning for VC++

git-svn-id: svn://10.0.0.236/trunk@69697 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scc%netscape.com
2000-05-14 23:33:05 +00:00
parent 4e698712c6
commit 937ea1fdff
3 changed files with 21 additions and 0 deletions

View File

@@ -73,6 +73,13 @@ template <class CharT> class basic_nsAReadableString;
template <class CharT> class basic_nsAWritableString;
// ...because we sometimes use them as `out' params
#ifdef _MSC_VER
// Under VC++, at the highest warning level, we are overwhelmed with warnings
// about a possible error when |operator->()| is used against something that
// doesn't have members, e.g., a |PRUnichar|. This is to be expected with
// templates, so we disable the warning.
#pragma warning( disable: 4284 )
#endif
template <class CharT>
class nsReadingIterator

View File

@@ -73,6 +73,13 @@ template <class CharT> class basic_nsAReadableString;
template <class CharT> class basic_nsAWritableString;
// ...because we sometimes use them as `out' params
#ifdef _MSC_VER
// Under VC++, at the highest warning level, we are overwhelmed with warnings
// about a possible error when |operator->()| is used against something that
// doesn't have members, e.g., a |PRUnichar|. This is to be expected with
// templates, so we disable the warning.
#pragma warning( disable: 4284 )
#endif
template <class CharT>
class nsReadingIterator

View File

@@ -73,6 +73,13 @@ template <class CharT> class basic_nsAReadableString;
template <class CharT> class basic_nsAWritableString;
// ...because we sometimes use them as `out' params
#ifdef _MSC_VER
// Under VC++, at the highest warning level, we are overwhelmed with warnings
// about a possible error when |operator->()| is used against something that
// doesn't have members, e.g., a |PRUnichar|. This is to be expected with
// templates, so we disable the warning.
#pragma warning( disable: 4284 )
#endif
template <class CharT>
class nsReadingIterator