Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL build error on Solaris 10 (i386)

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL build error on Solaris 10 (i386)


Chronological Thread 
  • From: BERTRAND Joël <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL build error on Solaris 10 (i386)
  • Date: Sun, 15 Jun 2008 17:05:52 +0200

Sylvain Pion a écrit :
BERTRAND Joël a écrit :

BERTRAND Joël a écrit :

Header files may differ between the two.

I have tried to debug, but I don't speak C++ enough...




Find the compiler option that dumps the preprocessed output, and inspect it.



OK. I have found in preprocessed file :

template < class I, class TT = int, class 18 = int, class DD = int>
class Circulator_from_iterator {
public:


typedef Circulator_from_iterator<I,TT,18,DD> Self;
typedef I iterator;
typedef std::iterator_traits<iterator> Traits;

typedef typename Traits::value_type value_type;
typedef std::size_t size_type;
typedef typename Traits::difference_type difference_type;
typedef typename Traits::reference reference;
typedef typename Traits::pointer pointer;

typedef typename Traits::iterator_category Icategory;
typedef I_Circulator_from_iterator_traits<Icategory> CTraits;
typedef typename CTraits::iterator_category iterator_category;

private:
I m_begin;
I m_end;
I current;

I suppose that my problem is "class 18 = int", but I don't know how this SS is defined.


I have replaced SS by SS1 and CGAL can be built...


Can you please still investigate which file defines it?
grep for it under /usr/include, maybe, or other places.

I have found in /usr/include/sys/regset.h :


/*
* The names and offsets defined here are specified by i386 ABI suppl.
*/

#define SS 18 /* only stored on a privilege transition */
#define UESP 17 /* only stored on a privilege transition */
#define EFL 16
#define CS 15
#define EIP 14
#define ERR 13
#define TRAPNO 12
#define EAX 11
#define ECX 10
#define EDX 9
#define EBX 8
#define ESP 7

Seem to be i386 (maybe amd64) Solaris 10 specific...

Regards,

JKB



Archive powered by MHonArc 2.6.16.

Top of Page