Learned more about gdb's dprintf. Made some changes.

This commit is contained in:
Ernie Pasveer
2024-12-20 10:17:07 -06:00
parent bba66da1e7
commit 24fa6d6a7e
17 changed files with 195 additions and 14 deletions
+2 -2
View File
@@ -7,7 +7,7 @@
FILE* logfile = NULL;
extern "C" {
int log_msgxxx (const char* format, ...) {
int log_msg (const char* format, ...) {
int n;
va_list args;
// init the variable length argument list
@@ -46,7 +46,7 @@ int main (int argc, char** argv) {
std::cout << std::setw(12) << n << std::setw(14) << nfact << std::endl;
}
// fortranfunction_(&count);
fortranfunction_(&count);
fclose(logfile);