r3947 - trunk/birnet
- From: timj svn gnome org
- To: svn-commits-list gnome org
- Subject: r3947 - trunk/birnet
- Date: Sun, 8 Oct 2006 10:22:12 -0400 (EDT)
Author: timj
Date: 2006-10-08 10:21:57 -0400 (Sun, 08 Oct 2006)
New Revision: 3947
Modified:
trunk/birnet/ChangeLog
trunk/birnet/Makefile.am
trunk/birnet/birnetmsg.hh
trunk/birnet/birnetthreadimpl.cc
Log:
Sun Oct 8 16:20:18 2006 Tim Janik <timj gtk org>
* Makefile.am: ship birnetcdefs.h.
* birnetthreadimpl.cc: added internal default constructors for gcc-3.3.
* birnetmsg.hh: reordered function attributes on constructors for gcc-3.3.
Modified: trunk/birnet/ChangeLog
===================================================================
--- trunk/birnet/ChangeLog 2006-10-08 02:02:13 UTC (rev 3946)
+++ trunk/birnet/ChangeLog 2006-10-08 14:21:57 UTC (rev 3947)
@@ -1,3 +1,11 @@
+Sun Oct 8 16:20:18 2006 Tim Janik <timj gtk org>
+
+ * Makefile.am: ship birnetcdefs.h.
+
+ * birnetthreadimpl.cc: added internal default constructors for gcc-3.3.
+
+ * birnetmsg.hh: reordered function attributes on constructors for gcc-3.3.
+
Sat Oct 7 23:58:58 2006 Tim Janik <timj gtk org>
* birnetcdefs.h (BIRNET_ABORT_NORETURN): added noreturn call to macros
Modified: trunk/birnet/Makefile.am
===================================================================
--- trunk/birnet/Makefile.am 2006-10-08 02:02:13 UTC (rev 3946)
+++ trunk/birnet/Makefile.am 2006-10-08 14:21:57 UTC (rev 3947)
@@ -11,6 +11,7 @@
birnet_headers = $(strip \
birnetcdefs.h \
birnet.hh \
+ birnetcdefs.h \
birnetcpu.hh \
birnetmsg.hh \
birnetsignal.hh \
Modified: trunk/birnet/birnetmsg.hh
===================================================================
--- trunk/birnet/birnetmsg.hh 2006-10-08 02:02:13 UTC (rev 3946)
+++ trunk/birnet/birnetmsg.hh 2006-10-08 14:21:57 UTC (rev 3947)
@@ -45,24 +45,24 @@
va_list varargs);
};
struct Text0 : public Part { /* message title */
- Text0 (const char *format, ...) BIRNET_PRINTF (2, 3) { va_list a; va_start (a, format); setup ('0', format, a); va_end (a); }
- Text0 (const String &s) { setup ('0', s); }
+ explicit BIRNET_PRINTF (2, 3) Text0 (const char *format, ...) { va_list a; va_start (a, format); setup ('0', format, a); va_end (a); }
+ explicit Text0 (const String &s) { setup ('0', s); }
};
struct Text1 : public Part { /* primary message */
- Text1 (const char *format, ...) BIRNET_PRINTF (2, 3) { va_list a; va_start (a, format); setup ('1', format, a); va_end (a); }
- Text1 (const String &s) { setup ('1', s); }
+ explicit BIRNET_PRINTF (2, 3) Text1 (const char *format, ...) { va_list a; va_start (a, format); setup ('1', format, a); va_end (a); }
+ explicit Text1 (const String &s) { setup ('1', s); }
};
struct Text2 : public Part { /* secondary message (lengthy) */
- Text2 (const char *format, ...) BIRNET_PRINTF (2, 3) { va_list a; va_start (a, format); setup ('2', format, a); va_end (a); }
- Text2 (const String &s) { setup ('2', s); }
+ explicit BIRNET_PRINTF (2, 3) Text2 (const char *format, ...) { va_list a; va_start (a, format); setup ('2', format, a); va_end (a); }
+ explicit Text2 (const String &s) { setup ('2', s); }
};
struct Text3 : public Part { /* message details */
- Text3 (const char *format, ...) BIRNET_PRINTF (2, 3) { va_list a; va_start (a, format); setup ('3', format, a); va_end (a); }
- Text3 (const String &s) { setup ('3', s); }
+ explicit BIRNET_PRINTF (2, 3) Text3 (const char *format, ...) { va_list a; va_start (a, format); setup ('3', format, a); va_end (a); }
+ explicit Text3 (const String &s) { setup ('3', s); }
};
struct Check : public Part { /* user switch */
- Check (const char *format, ...) BIRNET_PRINTF (2, 3) { va_list a; va_start (a, format); setup ('c', format, a); va_end (a); }
- Check (const String &s) { setup ('c', s); }
+ explicit BIRNET_PRINTF (2, 3) Check (const char *format, ...) { va_list a; va_start (a, format); setup ('c', format, a); va_end (a); }
+ explicit Check (const String &s) { setup ('c', s); }
};
typedef Text0 Title; /* message title */
typedef Text1 Primary; /* primary message */
Modified: trunk/birnet/birnetthreadimpl.cc
===================================================================
--- trunk/birnet/birnetthreadimpl.cc 2006-10-08 02:02:13 UTC (rev 3946)
+++ trunk/birnet/birnetthreadimpl.cc 2006-10-08 14:21:57 UTC (rev 3947)
@@ -218,6 +218,7 @@
while (threadcxx)
{
struct ThreadAccessWrapper : public Thread {
+ ThreadAccessWrapper () : Thread ("") {}
static void tdelete (void *cxxthread) { return threadxx_delete (cxxthread); }
};
ThreadAccessWrapper::tdelete (threadcxx);
@@ -406,6 +407,7 @@
if (UNLIKELY (!ptr))
{
struct ThreadAccessWrapper : public Thread {
+ ThreadAccessWrapper () : Thread ("") {}
static void wrap (BirnetThread *cthread) { return threadxx_wrap (cthread); }
};
ThreadAccessWrapper::wrap (thread);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]