a gmp matrix as a function's argument

Torbjorn Granlund tege at swox.com
Thu Jun 23 11:53:33 CEST 2005


Bogdan Damski <bodzio at lanl.gov> writes:

  When I compile this program I get:
  gmp.c: In function `fill_vector':
  gmp.c:21: invalid use of array with unspecified bounds
  the line 21 is the line with for loop in fill_vector function.
  
This is a C question, not a GMP question.
Please use this list only for GMP discussions.
  
  Can you please tell me how shall I modify the declaration of fill_vector
  function to make that simple program running  successsfully ?????

Please ask a C programmer or check in a textbook on C.

-- 
Torbjörn


More information about the gmp-discuss mailing list