As if it wasn't for my passion for forward proc declarations, now I have an 
issue with pragmas + forward declarations.

Here is the story:

  * I'm using the Memo module 
([https://github.com/andreaferretti/memo](https://github.com/andreaferretti/memo))
 which works by assigning a memoized pragma next to the proc declaration
  * The module per-se works absolutely fine
  * The function in-question (one of those that I'm trying to memoize) is also 
marked with the .exportc. pragma
  * Also, the function in-question has a forward declaration (again marked with 
exportc, obviously)
  * Now, if I put the memoized pragma in my proc definition, the compiler 
complains that there are 2 different definitions of the same proc
  * Naturally, I say, so let's add the memoized pragma to my forward 
declaration as well (it worked with exportc, why wouldn't it work with that as 
well?)
  * Supriseeee! Now, the memo module complains of finding 2 different 
definitions of the same function



Any ideas how this can be solved?

Reply via email to