gnucap development snapshot 2009-08-13

View: New views
2 Messages — Rating Filter:   Alert me  

gnucap development snapshot 2009-08-13

by al davis-13 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


There is a new development snapshot available ...
http://gnucap.org/devel/gnucap-2009-08-13.tar.gz

Optional plugin files:
http://gnucap.org/devel/gnucap-2009-08-13-models-bsim.tar.gz
http://gnucap.org/devel/gnucap-2009-08-13-models-jspice3-2.5.tar.gz
http://gnucap.org/devel/gnucap-2009-08-13-models-ngspice17.tar.gz
http://gnucap.org/devel/gnucap-2009-08-13-models-spice3f5.tar.gz
http://gnucap.org/devel/gnucap-2009-08-13-tools.tar.gz

This file contains the md5sum of the other files, so you can
check for a proper download:
http://gnucap.org/devel/gnucap-2009-08-13.md5sum

Changes---
1. Bug fix in parameter expression evaluation, when functions are called.
In the previous version, nested function calls such as exp(abs(a))
were not evaluated correctly.  This has been fixed.

2. Parameter functions and measure functions are now separate.
In the previous version, they were on the same namespace
anticipating future functionality.  There was a problem when
a measure function (such as the "max" measure) and parameter
function (such as "max" selecting the larger argument) were
confused.

Also ..

The web site http://gnucap.org now links to the wiki, which is now
the official web site.

The wiki:
http://wiki.gnucap.org

The manual:
http://wiki.gnucap.org/dokuwiki/doku.php?id=gnucap:manual

===

As usual, to get started you need only the main package
gnucap-2009-xx-xx.tar.gz .  



_______________________________________________
Gnucap-devel mailing list
Gnucap-devel@...
http://lists.gnu.org/mailman/listinfo/gnucap-devel

Re: gnucap development snapshot 2009-08-13

by Thomas Sailer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Al,

there are two constness issues with newer (and more const-correct)
versions of glibc. The following patch makes gnucap compileable on
fedora11.

Please apply,
thanks, Tom

--- ./src/ap_match.cc.jnx 2009-08-18 22:50:07.000000000 +0200
+++ ./src/ap_match.cc 2009-08-18 22:50:18.000000000 +0200
@@ -64,7 +64,7 @@
       }
     }else{
       // mismatch
-      char* bar = strchr(str2, '|');
+      const char* bar = strchr(str2, '|');
       if (bar && (bar[-1] != '\\')) {
  str2 = bar+1;
  reset(start);
--- ./modelgen/ap_match.cc.jnx 2009-08-18 22:47:45.000000000 +0200
+++ ./modelgen/ap_match.cc 2009-08-18 22:48:10.000000000 +0200
@@ -64,7 +64,7 @@
       }
     }else{
       // mismatch
-      char* bar = strchr(str2, '|');
+      const char* bar = strchr(str2, '|');
       if (bar && (bar[-1] != '\\')) {
  str2 = bar+1;
  reset(start);




_______________________________________________
Gnucap-devel mailing list
Gnucap-devel@...
http://lists.gnu.org/mailman/listinfo/gnucap-devel