public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* Patch: ISO C++ related fixes
@ 2002-09-07  8:55 Anthony Green
  2002-09-07  9:01 ` Frank Ch. Eigler
  2002-09-07  9:46 ` Ben Elliston
  0 siblings, 2 replies; 3+ messages in thread
From: Anthony Green @ 2002-09-07  8:55 UTC (permalink / raw)
  To: sid

I found these during some recent testing under Cygwin.  Ok to commit? 

Sat Aug 31 10:16:48 2002  Anthony Green  <green@redhat.com>

	* sidcpuutil.h (operator <<): added std:: prefixes for C++ ISO
	compliance.

Thu Aug 29 15:14:33 2002  Anthony Green  <green@redhat.com>

	* sidcpuutil.h (operator <<): added std:: prefixes for C++ ISO
	compliance.
	* sidmiscutil.h (sid_file_search_path): Ditto.

Index: sid/include/sidcpuutil.h
===================================================================
RCS file: /cvs/src/src/sid/include/sidcpuutil.h,v
retrieving revision 1.19
diff -u -p -r1.19 sidcpuutil.h
--- sid/include/sidcpuutil.h	23 Apr 2002 21:00:33 -0000	1.19
+++ sid/include/sidcpuutil.h	7 Sep 2002 15:22:03 -0000
@@ -594,9 +594,9 @@ public:
     basic_cpu::cpu_trace_stream& operator<< (basic_cpu::cpu_trace_stream& s, T t)
     {
       if (LIKELY (s.cout_p))
-	cout << t;
+	std::cout << t;
       else
-	dynamic_cast <ofstream&> (s) << t;
+	dynamic_cast <std::ofstream&> (s) << t;
       return s;
     }
   
Index: sid/include/sidmiscutil.h
===================================================================
RCS file: /cvs/src/src/sid/include/sidmiscutil.h,v
retrieving revision 1.4
diff -u -p -r1.4 sidmiscutil.h
--- sid/include/sidmiscutil.h	25 May 2001 15:32:51 -0000	1.4
+++ sid/include/sidmiscutil.h	7 Sep 2002 15:22:03 -0000
@@ -331,8 +331,8 @@ namespace sidutil
       {
 	int rc = cygwin_conv_to_full_posix_path (sep, conv_fn);
 	if (rc != 0)
-	  cerr << "sid_file_search_path: cygwin_conv_to_full_posix_path failed: " 
-	       << std_error_string () << endl;
+	  std::cerr << "sid_file_search_path: cygwin_conv_to_full_posix_path failed: " 
+	       << std_error_string () << std::endl;
 	else
 	  sep = conv_fn;
       }


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Patch: ISO C++ related fixes
  2002-09-07  8:55 Patch: ISO C++ related fixes Anthony Green
@ 2002-09-07  9:01 ` Frank Ch. Eigler
  2002-09-07  9:46 ` Ben Elliston
  1 sibling, 0 replies; 3+ messages in thread
From: Frank Ch. Eigler @ 2002-09-07  9:01 UTC (permalink / raw)
  To: Anthony Green; +Cc: sid

Hi -

green wrote:

> I found these during some recent testing under Cygwin.  Ok to commit? 
> [...]

Definitely.  (No approval is needed for similar obvious fixes.)

- FChE

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Patch: ISO C++ related fixes
  2002-09-07  8:55 Patch: ISO C++ related fixes Anthony Green
  2002-09-07  9:01 ` Frank Ch. Eigler
@ 2002-09-07  9:46 ` Ben Elliston
  1 sibling, 0 replies; 3+ messages in thread
From: Ben Elliston @ 2002-09-07  9:46 UTC (permalink / raw)
  To: Anthony Green; +Cc: sid

>>>>> "Anthony" == Anthony Green <green@redhat.com> writes:

  Anthony> I found these during some recent testing under Cygwin.  Ok
  Anthony> to commit?

Beat you to it :-)  Thanks, though.

Ben

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-07 16:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-07  8:55 Patch: ISO C++ related fixes Anthony Green
2002-09-07  9:01 ` Frank Ch. Eigler
2002-09-07  9:46 ` Ben Elliston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).