Ticket #205 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Clean up some warnings

Reported by: human Owned by: oetiker
Priority: minor Milestone:
Component: misc Version:
Keywords: Cc:

Description

rrd_tool.c(448) : warning : 'chdir': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _chdir.

rrd_tool.c(759 & 761) : warning : '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead.

rrd_tool.c(519) : warning : 'cwd' : unreferenced local variable

rrd_tool.c(517) : warning : 'st' : unreferenced local variable

Change History

comment:1 Changed 3 years ago by oetiker

  • Status changed from new to closed
  • Resolution set to fixed

The first two are due to windows miss-guidedness at least gcc still seems happy. The second and third are due to windows not compiling all of rrd_tool.c. I moved cwd a bit down in trunk, so the third warning should be gone.

Note: See TracTickets for help on using tickets.

NOTE: The content of this website is accessible with any browser. The graphical design though relies completely on CSS2 styles. If you see this text, this means that your browser does not support CSS2. Consider upgrading to a standard conformant browser like Mozilla Firefox or Opera but also Apple's Safari or KDE's Konqueror for example. It may also be that you are looking at a mirror page which did not copy the CSS for this page. Or if some pictu res are missing, then the mirror may not have picked up the contents of the inc directory.