Changeset 317 for trunk/src


Ignore:
Timestamp:
Oct 5, 2009, 8:33:36 AM (9 years ago)
Author:
ksherdy
Message:

Explicit template specialization cannot have a storage class. Removed static storage class to compile under gcc 4.3.3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bitlex.c

    r273 r317  
    162162
    163163template <>
    164 static inline void WS_Control_Blocks<ASCII>(BitBlock bit[], BitBlock& WS, BitBlock& Control) {
     164inline void WS_Control_Blocks<ASCII>(BitBlock bit[], BitBlock& WS, BitBlock& Control) {
    165165        BitBlock temp1 = simd_or(bit[0], bit[1]);
    166166        BitBlock temp2 = simd_or(temp1, bit[2]);
     
    193193
    194194template <>
    195 static inline void WS_Control_Blocks<EBCDIC>(BitBlock bit[], BitBlock& WS, BitBlock& Control) {
     195inline void WS_Control_Blocks<EBCDIC>(BitBlock bit[], BitBlock& WS, BitBlock& Control) {
    196196        BitBlock temp1 = simd_or(bit[0], bit[1]);
    197197        BitBlock temp2 = simd_or(bit[2], bit[3]);
     
    297297
    298298template <>
    299 static inline void ComputeLexicalItemBlocks<ASCII>(BitBlock bit[], BitBlock LexItem[]) {
     299inline void ComputeLexicalItemBlocks<ASCII>(BitBlock bit[], BitBlock LexItem[]) {
    300300  BitBlock temp1 = simd_or(bit[0], bit[1]);
    301301  BitBlock temp2 = simd_and(bit[2], bit[3]);
     
    391391
    392392template <>
    393 static inline void ComputeLexicalItemBlocks<EBCDIC>(BitBlock bit[], BitBlock LexItem[]) {
     393inline void ComputeLexicalItemBlocks<EBCDIC>(BitBlock bit[], BitBlock LexItem[]) {
    394394          BitBlock temp1 = simd_andc(bit[1], bit[0]);
    395395  BitBlock temp2 = simd_or(bit[2], bit[3]);
Note: See TracChangeset for help on using the changeset viewer.