IBM Support

HD45724: IOSTREAM H DEPRECATED WARNING

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as suggestion for future release.

Error description

  • IOSTREAM h deprecated
    warning :_OLD_IOSTREAMS_ARE_DEPRECATED'
    .
    Compiling code in Visual Studio.NET in R16 returns
    the following warning associated with the include
    file:
    .
    # make:
    BOELftCommands\BOELftHelp.m\src\BOELftHelpCm
    d.cpp
    BOELftHelpCmd.cpp
    C:\Program Files\Microsoft Visual Studio .NET\Vc7
    \include\useoldio.h(29)
    : warning
    C4995: '_OLD_IOSTREAMS_ARE_DEPRECATED':
    name was marked as
    #pragma deprecated.
    This warning occurs in many of the DS example
    frameworks such as CAADialog.edu and
    CAAOLE4MecMod.edu.
    .
    

Local fix

Problem summary

Problem conclusion

Temporary fix

Comments

  • Incident Diagnosis
    Microsoft requires code migration through emission
    of warning in compiler iostream.h file. While
    Dassault Systemes code migration is being
    considered, we cannot provide a date yet.
    .
    Development Request Justification
    Migration will be required to support future levels of
    Microsoft Visual C++ compilers
    .
    Answer and By-Pass
    Two possibilities:
    1 - remove all deprecated warnings by
    adding wd4995 option in the LOCAL_CCFLAGS
    of Imakefile.mk files of customer modules.
    Here is an example :
    LOCAL_CCFLAGS = /wd4995
    .
    

APAR Information

  • APAR number

    HD45724

  • Reported component name

    CAA V5 NT>XP

  • Reported component ID

    569151100

  • Reported release

    516

  • Status

    CLOSED SUG

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2005-10-19

  • Closed date

    2006-02-10

  • Last modified date

    2006-02-10

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSVJ2K","label":"CATIA"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"516","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
22 August 2024