Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Development ➜ PCRE-related compiler errors

PCRE-related compiler errors

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1  2 

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #15 on Sun 19 May 2013 08:45 AM (UTC)
Message
All I can suggest is that you do a Build -> Clean (to get rid of extraneous files) and then zip up your entire source directory and put it somewhere I can download it and I'll try to compile it, in case there is a file that should be in source control but isn't.

If you don't have anywhere suitable send me a forum message and I'll give you my email address (it's pretty obvious).

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Silverwind   (13 posts)  Bio
Date Reply #16 on Fri 24 May 2013 11:11 PM (UTC)
Message
I feel a little stupid but I neglected to notice that we got to a second page here. Sorry for the long wait.

Here's the source I have, all packed up: http://depositfiles.com/files/houayytq0
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #17 on Tue 28 May 2013 10:56 PM (UTC)
Message
I can reproduce your problem. To fix:

In pcre.h at lines 309 to 313 change:


struct real_pcre;                 /* declaration; the definition is private  */
typedef struct real_pcre pcre;

struct real_pcre16;               /* declaration; the definition is private  */
typedef struct real_pcre16 pcre16;


to:


struct real_pcre8_or_16;                 /* declaration; the definition is private  */
typedef struct real_pcre8_or_16 pcre;

struct real_pcre8_or_16;               /* declaration; the definition is private  */
typedef struct real_pcre8_or_16 pcre16;


Then it compiles OK.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #18 on Wed 29 May 2013 06:04 AM (UTC)

Amended on Wed 29 May 2013 06:05 AM (UTC) by Nick Gammon

Message
I'm trying to work out why it took so long to notice that. I see that pcre.h is not under source control (git) so I must have used the one from the PCRE distribution, got the error, and then made the change I mentioned above. But not being under source control, it wasn't documented. Checking my directory against the release shows the same change (and only that):


*** C:\Documents and Settings\Owner\Desktop\pcre-8.32\pcre.h.generic	Fri Nov 30 11:50:00 2012
--- pcre.h	Wed Feb  6 09:08:23 2013
***************
*** 306,316 ****
  
  /* Types */
  
! struct real_pcre;                 /* declaration; the definition is private  */
! typedef struct real_pcre pcre;
  
! struct real_pcre16;               /* declaration; the definition is private  */
! typedef struct real_pcre16 pcre16;
  
  struct real_pcre32;               /* declaration; the definition is private  */
  typedef struct real_pcre32 pcre32;
--- 306,316 ----
  
  /* Types */
  
! struct real_pcre8_or_16;                 /* declaration; the definition is private  */
! typedef struct real_pcre8_or_16 pcre;
  
! struct real_pcre8_or_16;               /* declaration; the definition is private  */
! typedef struct real_pcre8_or_16 pcre16;
  
  struct real_pcre32;               /* declaration; the definition is private  */
  typedef struct real_pcre32 pcre32;

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #19 on Wed 29 May 2013 06:19 AM (UTC)
Message
Documented now:

https://github.com/nickgammon/mushclient/commit/f12ef5b21df

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Silverwind   (13 posts)  Bio
Date Reply #20 on Wed 29 May 2013 10:11 PM (UTC)
Message
Awesome, got it now. Thanks a lot for the support.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


65,333 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.