[MacPorts] #28230: scite fails to build when tidy is installed and active
#28230: scite fails to build when tidy is installed and active -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: scite -------------------------------------+-------------------------------------- scite fails to build when the tidy port is installed and active: {{{ ../src/SplitVector.h: In member function 'void SplitVector<T>::SetValueAt(int, T)': ../src/SplitVector.h:122: error: there are no arguments to 'PLATFORM_ASSERT' that depend on a template parameter, so a declaration of 'PLATFORM_ASSERT' must be available ../src/SplitVector.h:122: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) ../src/SplitVector.h:129: error: there are no arguments to 'PLATFORM_ASSERT' that depend on a template parameter, so a declaration of 'PLATFORM_ASSERT' must be available ../src/SplitVector.h: In member function 'T& SplitVector<T>::operator[](int) const': ../src/SplitVector.h:139: error: there are no arguments to 'PLATFORM_ASSERT' that depend on a template parameter, so a declaration of 'PLATFORM_ASSERT' must be available ../src/SplitVector.h: In member function 'void SplitVector<T>::Insert(int, T)': ../src/SplitVector.h:155: error: there are no arguments to 'PLATFORM_ASSERT' that depend on a template parameter, so a declaration of 'PLATFORM_ASSERT' must be available ../src/SplitVector.h: In member function 'void SplitVector<T>::InsertValue(int, int, T)': ../src/SplitVector.h:170: error: there are no arguments to 'PLATFORM_ASSERT' that depend on a template parameter, so a declaration of 'PLATFORM_ASSERT' must be available ../src/SplitVector.h: In member function 'void SplitVector<T>::InsertFromArray(int, const T*, int, int)': ../src/SplitVector.h:195: error: there are no arguments to 'PLATFORM_ASSERT' that depend on a template parameter, so a declaration of 'PLATFORM_ASSERT' must be available ../src/SplitVector.h: In member function 'void SplitVector<T>::Delete(int)': ../src/SplitVector.h:211: error: there are no arguments to 'PLATFORM_ASSERT' that depend on a template parameter, so a declaration of 'PLATFORM_ASSERT' must be available ../src/SplitVector.h: In member function 'void SplitVector<T>::DeleteRange(int, int)': ../src/SplitVector.h:221: error: there are no arguments to 'PLATFORM_ASSERT' that depend on a template parameter, so a declaration of 'PLATFORM_ASSERT' must be available In file included from ../src/Decoration.cxx:16: ../src/Partitioning.h: In member function 'int Partitioning::PositionFromPartition(int) const': ../src/Partitioning.h:145: error: 'PLATFORM_ASSERT' was not declared in this scope ../src/SplitVector.h: In member function 'void SplitVector<T>::Insert(int, T) [with T = int]': ../src/Partitioning.h:78: instantiated from here ../src/SplitVector.h:155: error: 'PLATFORM_ASSERT' was not declared in this scope ../src/SplitVector.h: In member function 'void SplitVector<T>::SetValueAt(int, T) [with T = int]': ../src/Partitioning.h:109: instantiated from here ../src/SplitVector.h:122: error: 'PLATFORM_ASSERT' was not declared in this scope ../src/SplitVector.h:129: error: 'PLATFORM_ASSERT' was not declared in this scope ../src/SplitVector.h: In member function 'void SplitVector<T>::Delete(int) [with T = int]': ../src/Partitioning.h:141: instantiated from here ../src/SplitVector.h:211: error: 'PLATFORM_ASSERT' was not declared in this scope ../src/SplitVector.h: In member function 'void SplitVector<T>::DeleteRange(int, int) [with T = int]': ../src/SplitVector.h:215: instantiated from 'void SplitVector<T>::Delete(int) [with T = int]' ../src/Partitioning.h:141: instantiated from here ../src/SplitVector.h:221: error: 'PLATFORM_ASSERT' was not declared in this scope make: *** [Decoration.o] Error 1 }}} Deactivating tidy allows scite to build. This is very similar to #26958 reported against qscintilla. -- Ticket URL: <https://trac.macports.org/ticket/28230> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28230: scite fails to build when tidy is installed and active -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: scite -------------------------------------+-------------------------------------- Comment(by ryandesign@…): * r80157: Detect presence of tidy and bail. The better solution from #26958 might yet be employed. -- Ticket URL: <https://trac.macports.org/ticket/28230#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts