This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 3/4] Create private_thread_info hierarchy


 private:
-  thread_info *m_thread;
+ /* Use the "class" keyword here, because of a class with a "thread_info"
+     function in the Darwin API.  */
+  class thread_info *m_thread;

This comment sounds incorrect.  A a "thread_info" function/method
inside some class couldn't possibly interfere, right?  The issue is
that there's a _free-function_ called thread_info, right?

Err yeah, the "class with a" part should not be there:

+  /* Use the "class" keyword here, because of a "thread_info"
+     function in the Darwin API.  */

Ah actually I meant "because of a clash", I was one letter away.

Simon


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]