Problem
#3

Hi Blefish,

I had a similar problem, I can imagine you are using the "hello world" template.

This has provided a very good template for me and has enabled me to add my plugin natives with very little changes. The only downside would be that it does not provide an example of callback implementation.

I encountered a small compiling problem similar to yours.

try making the following changes in "amx.h" to see they rectify your problem.

Comment out the following if directive
Code:
/*#if defined __WIN32__ || defined _WIN32 || defined WIN32
 #if !defined alloca
  #define xalloca(n)  _alloca(n)
 #endif
#endif*/
and replace it with this one;

Code:
#if HAVE_ALLOCA_H
 #include <alloca.h>
#endif
Edit:

If this resolves the issue, would you kindly change the topic to something along the lines off, "alloca problem" for future reference.
Reply


Messages In This Thread
Problem - by Blefish - 20.02.2010, 11:45
Re: Problem - by toby` - 21.02.2010, 13:52
Re: Problem - by toby` - 21.02.2010, 13:55
Re: Problem - by toby` - 21.02.2010, 13:56
Re: Problem - by Blefish - 23.02.2010, 12:08

Forum Jump:


Users browsing this thread: 1 Guest(s)