Custom Query (95 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1 - 3 of 95)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#41 fixed small fix needed to build against wx2.9 Olly Betts Wookey
Description

building against wx2.9 (on debian testing=wheezy) fails in namecompare.cc:

LL -DWXGTK -pthread -Wall -Wunused -Wshadow -Wpointer-arith -Wwrite-strings -Wcast-align -g -O2 -c -o aven-namecompare.o test -f 'namecompare.cc' || echo './'namecompare.cc namecompare.cc: In function ‘int name_cmp(const wxString&, const wxString&, int)’: namecompare.cc:33:41: error: operands to ?: have different types ‘int’ and ‘wxUniChar’ namecompare.cc:34:41: error: operands to ?: have different types ‘int’ and ‘wxUniChar’

This simple patch fixes it: Index: survex-1.2.6/src/namecompare.cc =================================================================== --- survex-1.2.6.orig/src/namecompare.cc 2013-04-09 01:30:08.000000000 +0100 +++ survex-1.2.6/src/namecompare.cc 2013-04-09 01:31:39.844104393 +0100 @@ -30,8 +30,8 @@

int name_cmp(const wxString &a, const wxString &b, int separator) {

size_t i = 0; while (1) {

  • int cha = (i == a.size() ? 0 : a[i]);
  • int chb = (i == b.size() ? 0 : b[i]);

+ int cha = (i == a.size() ? 0 : (int) a[i]); + int chb = (i == b.size() ? 0 : (int) b[i]);

/* done if end of either string */

if (!cha
!chb) return cha - chb;

It may be that there is a better fix but this does the basic job.

#6 fixed show crosses on station generates an Aven error Log Olly Betts rowelark
Description

When I opened a ".3d" file and selected the "X" - show crosses on stations, I get a new window opened on my PC with the following text

9:10:07 PM: OpenGL 2.0.5012 WinXP Release
ATI Technologies Inc.
RADEON 9550 x86/MMX/3DNow!/SSE
R8G8B8
Max Texture size: 2048x2048
Max Viewport size: 4096x4096
Point Size 1.000-64.000 (granularity 0.125)
GL_ARB_multitexture GL_EXT_texture_env_add GL_EXT_compiled_vertex_array GL_S3_s3tc GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_multisample GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_element_array GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_map_object_buffer GL_ATI_separate_stencil GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_ATI_vertex_array_object GL_ATI_vertex_attrib_array_object GL_ATI_vertex_streams GL_ATIX_texture_env_combine3 GL_ATIX_texture_env_route GL_ATIX_vertex_shader_output_point_size GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_texgen_reflection GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_EXT_vertex_shader GL_HP_occlusion_test GL_NV_blend_square GL_NV_occlusion_query GL_NV_texgen_reflection GL_SGI_color_matrix GL_SGIS_generate_mipmap GL_SGIS_multitexture GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays GL_WIN_swap_hint WGL_EXT_extensions_string WGL_EXT_swap_control 
9:10:07 PM: Error: gla-gl.cc:203: OpenGL error: invalid enumerant (call glCallList in method GLAList::DrawList)
9:10:12 PM: Error: gla-gl.cc:203: OpenGL error: invalid enumerant (call glCallList in method GLAList::DrawList)

Help -> About shows the following:

Windows XP (build 2600, Service Pack 2)
wxWidgets 2.8.10
Display Depth: 32 bpp (colour)
OpenGL 2.0.5012 WinXP Release
ATI Technologies Inc.
RADEON 9550 x86/MMX/3DNow!/SSE
R8G8B8
Max Texture size: 2048x2048
Max Viewport size: 4096x4096
Point Size 1.000-64.000 (granularity 0.125)
GL_ARB_multitexture GL_EXT_texture_env_add GL_EXT_compiled_vertex_array GL_S3_s3tc GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_multisample GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_element_array GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_map_object_buffer GL_ATI_separate_stencil GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_ATI_vertex_array_object GL_ATI_vertex_attrib_array_object GL_ATI_vertex_streams GL_ATIX_texture_env_combine3 GL_ATIX_texture_env_route GL_ATIX_vertex_shader_output_point_size GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_texgen_reflection GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_EXT_vertex_shader GL_HP_occlusion_test GL_NV_blend_square GL_NV_occlusion_query GL_NV_texgen_reflection GL_SGI_color_matrix GL_SGIS_generate_mipmap GL_SGIS_multitexture GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays GL_WIN_swap_hint WGL_EXT_extensions_string WGL_EXT_swap_control 
#118 invalid possible problem with ; comments after *date if text is numeric like a date Olly Betts Philip Sargent
Description

*date 1993.07.17 ; trip 1993-161-15 in logbook

in Loser\caves-1623\161\lhr\arrow.svx

Survex 1.2.42

/mnt/d/CUCC-Expo/t37/loser/kataster/../caves-1623/161/lhr/arrow.svx:75:18: error: Expecting numeric field, found “in”
trip 1993-161-15 in logbook
                  ^~
/mnt/d/CUCC-Expo/t37/loser/kataster/../caves-1623/161/lhr/arrow.svx:75:21: error: Expecting numeric field, found “logbook”
 trip 1993-161-15 in logbook
                     ^~~~~~~
1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.