You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by el...@apache.org on 2008/04/02 00:35:26 UTC
svn commit: r643630 - /stdcxx/trunk/etc/config/src/float_defs.h
Author: elemings
Date: Tue Apr 1 15:35:11 2008
New Revision: 643630
URL: http://svn.apache.org/viewvc?rev=643630&view=rev
Log:
2008-04-01 Eric Lemings <er...@roguewave.com>
STDCXX-###
* file (function), ...: Summary of change.
Modified:
stdcxx/trunk/etc/config/src/float_defs.h
Modified: stdcxx/trunk/etc/config/src/float_defs.h
URL: http://svn.apache.org/viewvc/stdcxx/trunk/etc/config/src/float_defs.h?rev=643630&r1=643629&r2=643630&view=diff
==============================================================================
--- stdcxx/trunk/etc/config/src/float_defs.h (original)
+++ stdcxx/trunk/etc/config/src/float_defs.h Tue Apr 1 15:35:11 2008
@@ -27,7 +27,11 @@
#ifndef _RWSTD_NO_FLOAT_H
# include <float.h>
-# if defined (__EDG__) && !defined (__INTEL_COMPILER)
+# if defined (__EDG__) \
+ && !defined (__DECCXX) \
+ && !defined (__HP_aCC) \
+ && !defined (__INTEL_COMPILER) \
+ && !defined (_SGI_COMPILER_VERSION)
// define gcc 4 intrinsics otherwise not recognized
// by the front end
# define __FLT_DIG__ 6
@@ -64,7 +68,7 @@
// Linux value
# define _RWSTD_FLT_ROUNDS 1 /* round to nearest */
-# if __GNUC__ < 4
+# if defined (__GNUC__) && __GNUC__ < 4
// prevent the propriterary gcc __extension__ from
// throwing the vanilla EDG demo for a loop
RE: svn commit: r643630 - /stdcxx/trunk/etc/config/src/float_defs.h
Posted by Eric Lemings <Er...@roguewave.com>.
Doh! Yeah, thought I had it tested out pretty good. That's what
thinkin' gets me.
Save the following script and set SVN_EDITOR environment variable
to use it during check-ins:
-----
#!/bin/sh
# Generate custom template for Subversion log messages.
[ $# -eq 1 ] || {
echo "Usage: $0 FILE"
exit 1
}
FILE=$1
TEXT=`cat ${FILE}`
TODAY=`date +%F`
# This will have to be tailored by the end user. Can't think of a way
# to determine this automaticallly.
EMAIL="Eric Lemings <er...@roguewave.com>"
# Save original file and revert back to it later if necessary.
TMPFILE=`mktemp -t svn.XXXXXXXXXX`
if [ $? -ne 0 ]; then
echo "$0: error: could not create temporary file"
exit 1
fi
# Create a new template using GNU ChangeLog format.
cat <<END >${TMPFILE}
${TODAY} ${EMAIL}
ISSUE-ID
* file1 (func1), file2: Summary of 1st change.
* file2: Summary of 2nd change.
${TEXT}
END
# Try to determine user's preferred editor.
[ -z ${EDITOR} ] && EDITOR=${SVN_EDITOR}
[ -z ${EDITOR} ] && EDITOR=${VISUAL}
[ -z ${EDITOR} ] && [ -f ${HOME}/.emacs ] && EDITOR=emacs
[ -z ${EDITOR} ] && EDITOR=vi
# Compare checksums to determine if file actually changed.
OLDCRC=`cksum ${TMPFILE}`
if ${EDITOR} ${TMPFILE}; then
NEWCRC=`cksum ${TMPFILE}`
if [ "${OLDCRC}" != "${NEWCRC}" ]; then
rm -f ${FILE}
mv ${TMPFILE} ${FILE}
else
rm -f ${TMPFILE}
fi
else
echo "$0: error: editor failed: \"${EDITOR}\""
exit 1
fi
-----
Brad.
> -----Original Message-----
> From: Travis Vitek [mailto:Travis.Vitek@roguewave.com]
> Sent: Tuesday, April 01, 2008 4:48 PM
> To: dev@stdcxx.apache.org
> Subject: RE: svn commit: r643630 -
> /stdcxx/trunk/etc/config/src/float_defs.h
>
>
> Brad,
>
> I think your changelog template is great, but it might be a
> good idea to
> fill it in. :) BTW, there are two spaces between the date and
> your name,
> and then another two between your name and your e-mail address.
>
> Travis
>
> >-----Original Message-----
> >From: elemings@apache.org [mailto:elemings@apache.org]
> >Sent: Tuesday, April 01, 2008 3:35 PM
> >To: commits@stdcxx.apache.org
> >Subject: svn commit: r643630 -
> >/stdcxx/trunk/etc/config/src/float_defs.h
> >
> >Author: elemings
> >Date: Tue Apr 1 15:35:11 2008
> >New Revision: 643630
> >
> >URL: http://svn.apache.org/viewvc?rev=643630&view=rev
> >Log:
> >2008-04-01 Eric Lemings <er...@roguewave.com>
> >
> > STDCXX-###
> > * file (function), ...: Summary of change.
> >
> >
> >Modified:
> > stdcxx/trunk/etc/config/src/float_defs.h
> >
>
RE: svn commit: r643630 - /stdcxx/trunk/etc/config/src/float_defs.h
Posted by Travis Vitek <Tr...@roguewave.com>.
Brad,
I think your changelog template is great, but it might be a good idea to
fill it in. :) BTW, there are two spaces between the date and your name,
and then another two between your name and your e-mail address.
Travis
>-----Original Message-----
>From: elemings@apache.org [mailto:elemings@apache.org]
>Sent: Tuesday, April 01, 2008 3:35 PM
>To: commits@stdcxx.apache.org
>Subject: svn commit: r643630 -
>/stdcxx/trunk/etc/config/src/float_defs.h
>
>Author: elemings
>Date: Tue Apr 1 15:35:11 2008
>New Revision: 643630
>
>URL: http://svn.apache.org/viewvc?rev=643630&view=rev
>Log:
>2008-04-01 Eric Lemings <er...@roguewave.com>
>
> STDCXX-###
> * file (function), ...: Summary of change.
>
>
>Modified:
> stdcxx/trunk/etc/config/src/float_defs.h
>