Re: static class member as interrupt handler works, but not if class is templated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,



Am 10.04.21 um 17:26 schrieb Jonathan Wakely:


    Dummy<1> d1;


This doesn't cause the instantiation of the member function.

Have you tried an explicit instantiation?

template class Dummy<1>;

Did not change anything.

If I use my original code, I get the instantiation of the function:

0000007e <Dummy<1>::Handler()>:
  7e:	18 95       	reti

But it is simply not named as "__vector_10" which is the problem. The
member function is instantiated but still with wrong name even with my
or your code.

Klaus





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux