Opened 13 years ago

Closed 13 years ago

## #231 closed bug (fixed)

# r12546 breaks Singular/test_ipid.cpp

Reported by: | Owned by: | somebody | |
---|---|---|---|

Priority: | minor | Milestone: | 3-1-2 and higher |

Component: | dontKnow | Version: | 3-1-1 |

Keywords: | Cc: |

### Description

Test function *IpIdTest::test_enterid* uses ggetid( const char*, BOOLEAN), but its' prototype was removed in r12546.

As a result:

make test cd /var/tmp/portage/sci-mathematics/singular-3.1.1/work/Singular-3-1-1/build/tests/Singular && /usr/bin/c++ -O2 -pipe -I/var/tmp/portage/sci-mathematics/singular-3.1.1/work/Singular-3-1-1/build/tests/Singular -I/var/tmp/portage/sci-mathematics/singular-3.1.1/work/Singular-3-1-1/tests/Singular -I/var/tmp/portage/sci-mathematics/singular-3.1.1/work/Singular-3-1-1 -I/var/tmp/portage/sci-mathematics/singular-3.1.1/work/Singular-3-1-1/kernel -I/var/tmp/portage/sci-mathematics/singular-3.1.1/work/Singular-3-1-1/Singular -I/var/tmp/portage/sci-mathematics/singular-3.1.1/work/Singular-3-1-1/omalloc -I/var/tmp/portage/sci-mathematics/singular-3.1.1/work/Singular-3-1-1/factory -o CMakeFiles/Singular-test.dir/test_ipid.cpp.o -c /var/tmp/portage/sci-mathematics/singular-3.1.1/work/Singular-3-1-1/tests/Singular/test_ipid.cpp /var/tmp/portage/sci-mathematics/singular-3.1.1/work/Singular-3-1-1/tests/Singular/test_ipid.cpp: In member function ‘void Singular::tests::IpIdTest::test_enterid()’: /var/tmp/portage/sci-mathematics/singular-3.1.1/work/Singular-3-1-1/tests/Singular/test_ipid.cpp:87:5: error: no matching function for call to ‘ggetid(char [64], int)’ /var/tmp/portage/sci-mathematics/singular-3.1.1/work/Singular-3-1-1/Singular/ipid.h:82:7: note: candidates are: idrec* ggetid(const char*) /var/tmp/portage/sci-mathematics/singular-3.1.1/work/Singular-3-1-1/Singular/ipid.h:83:7: note: idrec* ggetid(const char*, BOOLEAN, idrec**) /var/tmp/portage/sci-mathematics/singular-3.1.1/work/Singular-3-1-1/tests/Singular/test_ipid.cpp:97:5: error: no matching function for call to ‘ggetid(char [64], int)’ /var/tmp/portage/sci-mathematics/singular-3.1.1/work/Singular-3-1-1/Singular/ipid.h:82:7: note: candidates are: idrec* ggetid(const char*) /var/tmp/portage/sci-mathematics/singular-3.1.1/work/Singular-3-1-1/Singular/ipid.h:83:7: note: idrec* ggetid(const char*, BOOLEAN, idrec**) /var/tmp/portage/sci-mathematics/singular-3.1.1/work/Singular-3-1-1/tests/Singular/test_ipid.cpp:100:5: error: no matching function for call to ‘ggetid(char [64], int)’ /var/tmp/portage/sci-mathematics/singular-3.1.1/work/Singular-3-1-1/Singular/ipid.h:82:7: note: candidates are: idrec* ggetid(const char*) /var/tmp/portage/sci-mathematics/singular-3.1.1/work/Singular-3-1-1/Singular/ipid.h:83:7: note: idrec* ggetid(const char*, BOOLEAN, idrec**) make[3]: *** [tests/Singular/CMakeFiles/Singular-test.dir/test_ipid.cpp.o] Error 1

**Note:**See TracTickets for help on using tickets.