demexp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Demexp-dev] XDR file compilation issue


From: Thomas Petazzoni
Subject: Re: [Demexp-dev] XDR file compilation issue
Date: Sun, 17 Apr 2005 16:05:28 +0200
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050331)

Hello,

Thomas Petazzoni a écrit :

The attached dpatch fixes the problem. The XDR file still compiles with ocamlrpcgen, and DemExp still compiles with it. And my RPC Generator also compiles it ! ;-)

As it never works the first time, you'll find attached to this mail a new dpatch that replaces the previously sent one.

Sincerly,

Thomas
--
PETAZZONI Thomas - address@hidden
http://thomas.enix.org - Jabber: address@hidden
KOS: http://kos.enix.org/ - SOS: http://sos.enix.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7
#! /bin/sh /usr/share/dpatch/dpatch-run
## xdr-conformance.dpatch by  <address@hidden>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad demexp-0.4/net/messages.xdr.nw 
/tmp/dpep.D5zgjm/demexp-0.4/net/messages.xdr.nw
--- demexp-0.4/net/messages.xdr.nw      2005-03-15 18:50:27.000000000 +0100
+++ /tmp/dpep.D5zgjm/demexp-0.4/net/messages.xdr.nw     2005-04-17 
15:49:05.376700178 +0200
@@ -155,7 +155,7 @@
   question_desc_t q_desc;
   login_t q_info_author;
   date_t q_info_limit_date;
-  enum question_status_e q_info_status;
+  question_status_e q_info_status;
   response_t q_info_responses<MAX_NUMBER_RESPONSES>;
   int q_info_elected_responses<MAX_NUMBER_RESPONSES>;
 };
@@ -199,7 +199,7 @@
 
 struct participant_info_return_t {
   return_code_t participant_info_rc;
-  struct info_on_participant_t participant_info<MAX_NUMBER_IDS>;
+  info_on_participant_t participant_info<MAX_NUMBER_IDS>;
 };
 @ 
 
@@ -227,7 +227,7 @@
 
 struct tag_info_return_t {
   return_code_t tag_info_rc;
-  struct info_on_tag_t tag_info<MAX_NUMBER_IDS>;
+  info_on_tag_t tag_info<MAX_NUMBER_IDS>;
 };
 @ 
 
@@ -241,7 +241,7 @@
 
 struct tag_set_group_t {
   return_code_t tag_set_group_rc;
-  struct question_tag_set_t tag_set_group<MAX_NUMBER_IDS>;
+  question_tag_set_t tag_set_group<MAX_NUMBER_IDS>;
 };
 @ 
 
@@ -339,7 +339,7 @@
 
 <<messages.xdr>>=
     return_code_t set_question_status(cookie_t, question_id_t,
-                                      enum question_status_e) = 7;
+                                      question_status_e) = 7;
 @ 
 
 Method [[vote]] registers on server the vote on question of identifier

reply via email to

[Prev in Thread] Current Thread [Next in Thread]